From aeff047225b1e436fa94cab52cc6f1f9581356a1 Mon Sep 17 00:00:00 2001 From: Syauqizaidan Khairan Khalaf Date: Sat, 17 Feb 2024 14:03:20 +0700 Subject: [PATCH] chore: renaming storybook examples --- .../stories/examples/DataDisplay.stories.tsx | 7 ++- .../src/stories/examples/Footer.stories.tsx | 52 +++++++++---------- .../examples/TablePagination.stories.tsx | 2 +- 3 files changed, 30 insertions(+), 31 deletions(-) diff --git a/packages/ui/src/stories/examples/DataDisplay.stories.tsx b/packages/ui/src/stories/examples/DataDisplay.stories.tsx index 105d789..29901ae 100644 --- a/packages/ui/src/stories/examples/DataDisplay.stories.tsx +++ b/packages/ui/src/stories/examples/DataDisplay.stories.tsx @@ -4,13 +4,13 @@ import { Table, TableBody, TableCell, TableRow } from '@bootwind/table' import { HiPaperClip } from 'react-icons/hi2' export default { - title: 'Examples/DataDisplay', + title: '❖ • Examples/Data Display', argTypes: {}, } as Meta; export const CardWithTable = () => { return ( - + @@ -35,7 +35,7 @@ export const CardWithTable = () => {
  • - + resume_backend_developer.zip
    Download @@ -48,4 +48,3 @@ export const CardWithTable = () => { ) } - \ No newline at end of file diff --git a/packages/ui/src/stories/examples/Footer.stories.tsx b/packages/ui/src/stories/examples/Footer.stories.tsx index 9cf47d5..05292e7 100644 --- a/packages/ui/src/stories/examples/Footer.stories.tsx +++ b/packages/ui/src/stories/examples/Footer.stories.tsx @@ -7,7 +7,7 @@ import { Input } from '@bootwind/forms' import { Button } from '@bootwind/button' export default { - title: 'Examples/Footer', + title: '❖ • Examples/Footer', argTypes: {}, } as Meta; @@ -30,13 +30,13 @@ export const FooterWithNewsletter = () => {

    {menu}

    - {menus[menu as keyof typeof menus].map(item => { - return ( -
    - {item} -
    - ) - })} + {menus[menu as keyof typeof menus].map(item => { + return ( +
    + {item} +
    + ) + })}
    )) @@ -45,7 +45,7 @@ export const FooterWithNewsletter = () => {

    Newsletter

    Be the first one to know about discounts, offers and events. Unsubscribe whenever you like.

    - } rightSection={}> + } rightSection={}>
    @@ -59,14 +59,14 @@ const SocialMediaIcons = () => (
      { - [, , , , ].map(logo => { - return ( -
    • - - {logo} - -
    • - ) + [, , , , ].map(logo => { + return ( +
    • + + {logo} + +
    • + ) }) }
    @@ -81,9 +81,9 @@ export const FooterWithLogo = () => {

    Logo

    - We ara a lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat... Read More + We ara a lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat... Read More

    - +
    { @@ -93,13 +93,13 @@ export const FooterWithLogo = () => {

    {menu}

    - {menus[menu as keyof typeof menus].map(item => { - return ( -
    - {item} -
    - ) - })} + {menus[menu as keyof typeof menus].map(item => { + return ( +
    + {item} +
    + ) + })}
    )) diff --git a/packages/ui/src/stories/examples/TablePagination.stories.tsx b/packages/ui/src/stories/examples/TablePagination.stories.tsx index 1b71942..25e2174 100644 --- a/packages/ui/src/stories/examples/TablePagination.stories.tsx +++ b/packages/ui/src/stories/examples/TablePagination.stories.tsx @@ -17,7 +17,7 @@ const columns = [ ]; export default { - title: 'Examples/Table with Pagination', + title: '❖ • Examples/Table with Pagination', component: Pagination, argTypes: {}, } as Meta;