GLDS: Make Text component story not internal (#72803)

This commit is contained in:
Laura Fernández 2023-08-03 13:57:41 +02:00 committed by GitHub
parent 6314cf9588
commit 7147778dbd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 1 deletions

View File

@ -1,7 +1,7 @@
import { Meta, Props, Preview, ArgsTable } from '@storybook/addon-docs/blocks';
import { Text } from './Text';
import { TextLink } from '../Link/TextLink.tsx';
import { Basic } from './Text.internal.story.tsx';
import { Basic } from './Text.story.tsx';
import { Tooltip } from '../Tooltip';
<Meta title="MDX|Text" component={Text} />

View File

@ -84,6 +84,7 @@ export const Example: StoryFn = (args) => {
</VerticalGroup>
);
};
Example.parameters = {
controls: {
exclude: ['element', 'variant', 'weight', 'textAlignment', 'truncate', 'italic', 'color', 'children'],