-
Notifications
You must be signed in to change notification settings - Fork 10
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add document component 8 #241
Conversation
"right-start", | ||
// MEMO: Cannot use "ref" with MDX format. | ||
// https://github.com/storybookjs/storybook/issues/10446 | ||
export const Sample: React.FunctionComponent<FloatingTipProps> = (args) => { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ブランチ環境で<FloatingTip />
をみていただけるとわかるのだが.
.tsx
の書き方でもいい感じにコピペはできそうだということを把握していなかった...
|
||
export const Hoge: React.FunctionComponent<FloatingTipProps> = (args) => { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
そして2個目以降のコンポーネントもいい感じにDocs下部に表示されていることを知らなかった
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hoge
はあとで消す(説明のための据え置き
👍 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍
ref: #212
今回から複雑な説明を要さないコンポーネントに関しては
.tsx
を使います。対応したコンポーネント
<ErrorText />
<FloatingTip />
<Icon />
<NotificationBadge />
<Pager />
<Table />