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]>
22 lines
421 B
TypeScript
22 lines
421 B
TypeScript
import * as React from 'react';
|
|
import {InfoItem} from './info-item';
|
|
|
|
export default {
|
|
component: InfoItem,
|
|
title: 'Components/InfoItem',
|
|
argTypes: {
|
|
style: {control: {disable: true}},
|
|
},
|
|
args: {
|
|
content: 'Hello world',
|
|
},
|
|
};
|
|
|
|
export const Primary = (args: any) => {
|
|
return (
|
|
<div style={{display: 'flex'}}>
|
|
<InfoItem {...args} />
|
|
</div>
|
|
);
|
|
};
|