Skip to content

Commit

Permalink
chore: standardise component docs
Browse files Browse the repository at this point in the history
  • Loading branch information
jordmccord committed Nov 15, 2024
1 parent c35bf17 commit 42ecde2
Show file tree
Hide file tree
Showing 13 changed files with 6 additions and 224 deletions.
46 changes: 0 additions & 46 deletions apps/native-ui-storybook/components/Box/Box.docs.mdx

This file was deleted.

12 changes: 0 additions & 12 deletions apps/native-ui-storybook/components/Box/Box.stories.tsx

This file was deleted.

36 changes: 0 additions & 36 deletions apps/native-ui-storybook/components/Box/Box.tsx

This file was deleted.

38 changes: 0 additions & 38 deletions apps/native-ui-storybook/components/Box/BoxWithRef.tsx

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,4 @@ const CenterMeta: Meta<typeof Center> = {

export default CenterMeta;

export { Center };
export { Center as Playground };
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
import HStack from './HStack';
import HStackReversed from './HStackReversed';
import type { Meta } from '@storybook/react';

const HStackMeta: Meta<typeof HStack> = {
Expand All @@ -22,6 +21,4 @@ const HStackMeta: Meta<typeof HStack> = {

export default HStackMeta;

export { HStack };

export { HStackReversed };
export { HStack as Playground };
20 changes: 0 additions & 20 deletions apps/native-ui-storybook/components/HStack/HStackReversed.tsx

This file was deleted.

2 changes: 1 addition & 1 deletion apps/native-ui-storybook/components/Icon/Icon.stories.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,4 @@ const IconMeta: Meta<typeof Icon> = {
};

export default IconMeta;
export { Icon };
export { Icon as Playground };
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,4 @@ const SkeletonMeta: Meta<typeof Skeleton> = {

export default SkeletonMeta;

export { Skeleton };
export { Skeleton as Playground };
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
import VStack from './VStack';
import VStackReversedExample from './VStackReversed';
import type { Meta } from '@storybook/react';

const VStackMeta: Meta<typeof VStack> = {
Expand All @@ -22,5 +21,4 @@ const VStackMeta: Meta<typeof VStack> = {

export default VStackMeta;

export { VStack };
export { VStackReversedExample };
export { VStack as Playground };
21 changes: 0 additions & 21 deletions apps/native-ui-storybook/components/VStack/VStackReversed.tsx

This file was deleted.

3 changes: 1 addition & 2 deletions apps/native-ui-storybook/components/lab/Box/Box.stories.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
import Box from './Box';
import BoxWithRef from './BoxWithRef';
import type { Meta } from '@storybook/react';

const BoxMeta: Meta<typeof Box> = {
Expand All @@ -9,4 +8,4 @@ const BoxMeta: Meta<typeof Box> = {

export default BoxMeta;

export { Box, BoxWithRef };
export { Box as Playground };
39 changes: 0 additions & 39 deletions apps/native-ui-storybook/components/lab/Box/BoxWithRef.tsx

This file was deleted.

0 comments on commit 42ecde2

Please sign in to comment.