Skip to content

Commit

Permalink
Update storybook
Browse files Browse the repository at this point in the history
  • Loading branch information
oandregal committed Jul 26, 2024
1 parent 33d24db commit 7e33991
Showing 1 changed file with 7 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -20,15 +20,21 @@ const fields = [
label: 'Title',
type: 'text' as const,
},
{
id: 'order',
label: 'Order',
type: 'integer' as const,
},
];

export const Default = () => {
const [ post, setPost ] = useState( {
title: 'Hello, World!',
order: 2,
} );

const form = {
visibleFields: [ 'title' ],
visibleFields: [ 'title', 'order' ],
};

return (
Expand Down

0 comments on commit 7e33991

Please sign in to comment.