Skip to content

Commit

Permalink
error DS story
Browse files Browse the repository at this point in the history
  • Loading branch information
sgendre committed Oct 11, 2023
1 parent 489ad41 commit d0fd20d
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions packages/design-system/src/stories/navigation/Tabs.stories.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,28 @@ export const Styles = () => (
</StackHorizontal>
);

export const TabsWithError = () => (
<Tabs
tabs={[
{
tabTitle: {
icon: 'user',
title: 'User',
error: true,
},
tabContent: <h2>Users tab content</h2>,
},
{
tabTitle: {
icon: 'calendar',
title: 'Calendar',
},
tabContent: <h2>Calendar tab content</h2>,
},
]}
/>
);

export const TabsWithIcon = () => (
<Tabs
tabs={[
Expand Down

0 comments on commit d0fd20d

Please sign in to comment.