Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
const ExampleDrawerPanel = () => (
<div>
} key="bookmark" />]}
size={Row.sizes.small}
actionBarVisible
/>
} key="bookmark" />]}
size={Row.sizes.small}
actionBarVisible
/>
<style>{`
.drawer-panel-example {
padding: ${core.layout.spacingXLarge} ${core.layout.spacingXLarge}
${core.layout.spacingMedium} ${core.layout.spacingXLarge};
}
`}</style>
</div>
)
const ExampleDrawerPanel = () => (
<div>
} key="bookmark" />]}
size={Row.sizes.small}
actionBarVisible
/>
} key="bookmark" />]}
size={Row.sizes.small}
actionBarVisible
/>
<style>{`
.drawer-panel-example {
padding: ${core.layout.spacingXLarge} ${core.layout.spacingXLarge}
${core.layout.spacingMedium} ${core.layout.spacingXLarge};
}
`}</style>
</div>
}
metadata1={[
<a href="https://duckduckgo.com?q=cats">Kitten McCatbuns</a>
,
'23 hours of cuteness'
]}
image={
<a href="https://duckduckgo.com?q=image">
<img src="https://cataas.com/cat">
</a>
}
size={Row.sizes.medium}
title={
<a href="https://duckduckgo.com?q=title">
I'm a Row with Actions
</a>
}
/>
}
>
))
.add('stack of drawers', () => (
.add('with row component', () => (
} />
]}
actionBarVisible
image={}
metadata1={['Kitten McCatbuns', '23 hours of cuteness']}
size={Row.sizes.medium}
title="Look at me! I'm a !"
/>
}
>
))
.add('row component with actions', () => (
<code>Row.Text, Row.TextLink</code>,
null,
null,
'first row of metadata'
]),
PropTypes.row([
'metadata2',
<code>Row.Text, Row.TextLink</code>,
null,
null,
'second row of metadata'
]),
PropTypes.row(['progress', 'number', null, null, 'progress 0-100']),
PropTypes.row([
'size',
PropTypes.union(Row.sizes),
false,
null,
<span>
disable resizing layout and set explicit size (from{' '}
<code>Row.sizes</code>)
</span>
]),
PropTypes.row([
'title',
<span>
string | <code>Row.TextLink > a > string</code>
</span>,
true,
null,
'row title or linked title'
]),