Skip to content

Commit

Permalink
Remove temporary storybook examples
Browse files Browse the repository at this point in the history
  • Loading branch information
ciampo committed Oct 10, 2024
1 parent 7048449 commit f494815
Showing 1 changed file with 0 additions and 27 deletions.
27 changes: 0 additions & 27 deletions packages/components/src/tooltip/stories/index.story.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -36,17 +36,6 @@ const meta: Meta< typeof Tooltip > = {
controls: { expanded: true },
docs: { canvas: { sourceState: 'shown' } },
},
decorators: [
( Story ) => {
return (
<>
{ /* eslint-disable-next-line no-restricted-syntax */ }
<p id="test-description">Button description</p>
<Story />
</>
);
},
],
};
export default meta;

Expand Down Expand Up @@ -85,19 +74,3 @@ Nested.args = {
),
text: 'Outer tooltip text',
};

export const AlreadyWithDescription: StoryFn< typeof Tooltip > = Template.bind(
{}
);
AlreadyWithDescription.args = {
children: (
<button aria-describedby="test-description">Tooltip Anchor</button>
),
text: 'Tooltip Text',
};

export const SameLabel: StoryFn< typeof Tooltip > = Template.bind( {} );
SameLabel.args = {
children: <button aria-label="Button label">Tooltip Anchor</button>,
text: 'Button label',
};

0 comments on commit f494815

Please sign in to comment.