mirror of
https://github.com/hanzoai/cd-ui.git
synced 2026-10-30 20:42:45 +00:00
* feat: New components from Argo Rollotus UI in src/v2 directory Signed-off-by: Remington Breeze <[email protected]>
23 lines
481 B
TypeScript
23 lines
481 B
TypeScript
import * as React from 'react';
|
|
import ActionButton from '../action-button/action-button';
|
|
import {Menu} from './menu';
|
|
|
|
export default {
|
|
component: Menu,
|
|
title: 'Components/Menu',
|
|
};
|
|
|
|
export const Primary = (args: any) => {
|
|
return (
|
|
<div style={{display: 'flex', marginBottom: '6em'}}>
|
|
<Menu {...args}>
|
|
<ActionButton label='Click me!' />
|
|
</Menu>
|
|
</div>
|
|
);
|
|
};
|
|
|
|
Primary.args = {
|
|
items: ['A', 'B', 'C'],
|
|
};
|