-
Notifications
You must be signed in to change notification settings - Fork 141
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
docs(ErrorScreen): Storybook を見直し #5145
Conversation
commit: |
|
||
const logoOptions = { | ||
デフォルト: undefined, | ||
ReactNode: <div>ロゴ</div>, |
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.
ロゴ部分にデフォルトの SmartHR ロゴ以外に何を出す需要があるのか良くわからず・・。
適当に div 要素を埋め込めんでしまいましたが、何か適切なサンプルありますかね…?
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.
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.
グループ会社など SmartHR 以外のプロダクトでロゴを出す可能性があります。ここは例として SmartHR のロゴが出てても問題ないように思いました!
{ label: 'お問い合わせ', url: '/contact' }, | ||
], | ||
}, | ||
} |
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.
このコンポーネントはフルスクリーンで表示される都合、並べて表示することができないので、一通りの項目が表示されるパターン1個で担保します。props 同士がバッティングすることもないのでまぁ。
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.
コメントしましたが LGTM~
|
||
const logoOptions = { | ||
デフォルト: undefined, | ||
ReactNode: <div>ロゴ</div>, |
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.
グループ会社など SmartHR 以外のプロダクトでロゴを出す可能性があります。ここは例として SmartHR のロゴが出てても問題ないように思いました!
packages/smarthr-ui/src/components/ErrorScreen/stories/VRTErrorScreen.stories.tsx
Outdated
Show resolved
Hide resolved
…rScreen.stories.tsx Co-authored-by: KANAMORI Yu <[email protected]>
関連URL
https://smarthr.atlassian.net/browse/SHRUI-1133
概要
変更内容
確認方法
Storybook や Chromatic で確認してください。