Demos
Label textData-value goes here
<ValueBlock label="Label text">Data-value goes here</ValueBlock>
Inline
this is before the value Foo Bar this is after the value
<P> this is before the value <ValueBlock inline>Foo</ValueBlock>{' '} <ValueBlock inline>Bar</ValueBlock> this is after the value </P>
Help button
Label textData-value goes here
<ValueBlock label="Label text" help={{ title: 'Help title', content: 'Help content', }} > Data-value goes here </ValueBlock>
Help button with HTML
Label text with a long label label – lorem ipsum dolor sitData-value goes here – lorem ipsum dolor sit amet consectetur.
<ValueBlock label="Label text with a long label label – lorem ipsum dolor sit" help={{ open: true, title: <strong>Help title</strong>, content: ( <> Help content with a <Anchor href="/">Anchor</Anchor>. </> ), }} > Data-value goes here – lorem ipsum dolor sit amet consectetur. </ValueBlock>