-
Notifications
You must be signed in to change notification settings - Fork 2
Storybookに既存コンポーネントを表示する(/sponsorstyles) #847
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
base: develop
Are you sure you want to change the base?
Storybookに既存コンポーネントを表示する(/sponsorstyles) #847
Conversation
…Button OpenEditModalButton SponsorStyleAddModal
Kubosaka
left a comment
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.
ModalPropsはstorybookで使ってなくて、exportしなくていいかと思いましたのでコメントしました
| import { Modal, CloseButton, OutlinePrimaryButton, PrimaryButton } from '@components/common'; | ||
|
|
||
| interface ModalProps { | ||
| export interface ModalProps { |
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.
| export interface ModalProps { | |
| interface ModalProps { |
ModalPropsは使っていなので、exportしなくていいかと思います!
| import { SponsorStyle } from '@type/common'; | ||
|
|
||
| interface ModalProps { | ||
| export interface ModalProps { |
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.
| export interface ModalProps { | |
| interface ModalProps { |
ここも!
| import { AddButton } from '@components/common'; | ||
|
|
||
| interface Props { | ||
| export interface 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.
| export interface Props { | |
| interface Props { |
ここも!
| import { DeleteButton } from '@components/common'; | ||
|
|
||
| interface Props { | ||
| export interface 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.
| export interface Props { | |
| interface 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.
ここexportの削除お願いします!
| import { SponsorStyle } from '@type/common'; | ||
|
|
||
| interface Props { | ||
| export interface 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.
| export interface Props { | |
| interface 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.
ここもです
| import { SponsorStyle } from '@type/common'; | ||
|
|
||
| interface ModalProps { | ||
| export interface ModalProps { |
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.
| export interface ModalProps { | |
| interface ModalProps { |
Kubosaka
left a comment
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.
コメントしました〜
| import { DeleteButton } from '@components/common'; | ||
|
|
||
| interface Props { | ||
| export interface 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.
ここexportの削除お願いします!
| import { SponsorStyle } from '@type/common'; | ||
|
|
||
| interface Props { | ||
| export interface 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.
ここもです
対応Issue
resolve #807
概要
以下のファイルを追加
index.ts
DeleteModal.stories.tsx
EditModal.stories.tsx
OpenAddModalButton.stories.tsx
OpenDeleteModalButton.stories.tsx
OpenEditModalButton.stories.tsx
SponsorStyleAddModal.stories.tsx
画面スクリーンショット等
テスト項目
備考