Skip to content
This repository has been archived by the owner on Nov 26, 2024. It is now read-only.

Commit

Permalink
chore: removing comments from shadow stories
Browse files Browse the repository at this point in the history
  • Loading branch information
georgewrmarshall committed Apr 26, 2024
1 parent 39cb494 commit c35a44b
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions docs/Shadows.stories.tsx
Original file line number Diff line number Diff line change
@@ -1,10 +1,8 @@
// Import React and necessary Storybook types
import React from 'react';
import type { Meta, StoryObj } from '@storybook/react';
import { Text } from './components';
import README from './Shadows.mdx';

// Type definitions for your component props
interface ShadowSwatchProps {
children: React.ReactNode;
style?: React.CSSProperties;
Expand Down Expand Up @@ -38,7 +36,6 @@ const ShadowSwatch: React.FC<ShadowSwatchProps> = ({
</div>
);

// Meta configuration for the story
const meta: Meta<typeof ShadowSwatch> = {
title: 'Shadows/Shadows',
component: ShadowSwatch,
Expand All @@ -61,14 +58,13 @@ const meta: Meta<typeof ShadowSwatch> = {

export default meta;

// Story definitions using the StoryObj type
export const DefaultStory: StoryObj<typeof ShadowSwatch> = {
name: 'Default',
args: {
color: 'default',
size: 'xs',
},
render: ({ args }) => (
render: (args) => (
<div
style={{
display: 'grid',
Expand Down

0 comments on commit c35a44b

Please sign in to comment.