diff --git a/src/components/UserAvatar/UserAvatar.stories.mdx b/src/components/UserAvatar/UserAvatar.stories.mdx index f644f7c..085e31b 100644 --- a/src/components/UserAvatar/UserAvatar.stories.mdx +++ b/src/components/UserAvatar/UserAvatar.stories.mdx @@ -1,16 +1,19 @@ -import { Meta, Story, Canvas } from '@storybook/addon-docs/blocks'; +import { Meta, Story, Canvas, ArgsTable } from '@storybook/addon-docs/blocks'; import UserAvatar from "./UserAvatar"; -The UserAvatar displays a graphical representation of a person. + - +The UserAvatar displays a graphical representation of a person. ## Default Usage Used without any props, the UserAvatar will display a generic person icon. - - {args => } + + { args => } @@ -18,21 +21,31 @@ Used without any props, the UserAvatar will display a generic person icon. If the `name` prop is passed, the UserAvatar will display the first letter of the name. - - {args => } + + { args => } -## Other Props +## Forwarded Props All props other than `name` are passed to the underlying [MUI Avatar component](https://material-ui.com/api/avatar/). - - {args => } + + { args => } - \ No newline at end of file + + + + +All other props are forwarded to the underlying [MUI Avatar component](https://material-ui.com/api/avatar/). \ No newline at end of file