Skip to content
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

document component vol6 #231

Merged
merged 5 commits into from
Jan 4, 2021
Merged

document component vol6 #231

merged 5 commits into from
Jan 4, 2021

Conversation

youchann
Copy link
Contributor

@youchann youchann commented Dec 24, 2020

ref: #212

やったコンポーネント

Feedback/に属するコンポーネント全て

  • <LoadingBar />
  • <Snackbar />
  • <Spinner />
  • <Toast />

https://deploy-preview-230--ingred-ui.netlify.app/
https://deploy-preview-231--ingred-ui.netlify.app/

@youchann youchann added the documentation Improvements or additions to documentation label Dec 24, 2020
@youchann youchann self-assigned this Dec 24, 2020
@youchann youchann requested a review from a team as a code owner December 24, 2020 09:34
@youchann youchann changed the title wip document component vol6 document component vol6 Jan 4, 2021
Comment on lines +11 to +19
<!-- MEMO: Cannot display <Toast /> props type. -->
<!-- Wait for Storybook updates. -->
<!-- <ArgsTable of={Toast} /> -->

The toast is used to show alerts on top of an overlay. The toast will close itself when the close button is clicked, or after a timeout.

## Samples

Explanation of each prop is written in here's [README](https://github.com/jossmac/react-toast-notifications).
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

本当は型を表示したかったのだが、<〇〇.何か />の形式で表現する場合、型の書き方が従来と異なるので、Storybook側が推論してくれない。
ので、被ラッパー側のライブラリを参照させるようにした。

Copy link
Contributor

@ryokosuge ryokosuge left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM 👍

@youchann youchann merged commit 5f44960 into master Jan 4, 2021
@youchann youchann deleted the add-document-component-6 branch January 4, 2021 07:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants