Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
),
image: [{ label: 'with image', value: image }],
footer: [
{
label: 'Two buttons',
value: (
First
Second
)
}
]
},
examples: (
<div>
<h1>Examples</h1>
{exampleProps.map((props, index) =>
renderExample(storySettings.exampleDataHooks[index], props)
)}</div>
'../../src/components/FloatingHelper/FloatingHelperContent/FloatingHelperContent.tsx',
componentProps,
exampleProps: {
onActionClick: () => 'action buton clicked!',
actionTheme: Object.keys(ActionButtonTheme).map(
key => ActionButtonTheme[key]
),
image: [{ label: 'with image', value: image }],
footer: [
{
label: 'Two buttons',
value: (
First
Second
)
}
]
},
{body && (
<div>
</div>
)}
{actionText && onActionClick && actionText.length > 0 && (
{actionText}
)}
{footer && (
<div data-hook="{DataHooks.footer}">
{footer}
</div>
)}