Skip to content

Conversation

@jokurebayashi
Copy link
Collaborator

@jokurebayashi jokurebayashi commented Jul 13, 2024

対応Issue

resolve #807

概要

以下のファイルを追加
index.ts
DeleteModal.stories.tsx
EditModal.stories.tsx
OpenAddModalButton.stories.tsx
OpenDeleteModalButton.stories.tsx
OpenEditModalButton.stories.tsx
SponsorStyleAddModal.stories.tsx

画面スクリーンショット等

スクリーンショット 2024-07-13 15 09 04

テスト項目

  • sponsorstylesの各項目が既存コンポーネント通り表示されているか
  • 他に悪影響を与えるエラーがないか

備考

@jokurebayashi jokurebayashi requested a review from Kubosaka July 13, 2024 06:11
@jokurebayashi jokurebayashi changed the title Storybook Storybookに既存コンポーネントを表示する(/sponsorstyles) Jul 13, 2024
Copy link
Collaborator

@Kubosaka Kubosaka left a 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 {
Copy link
Collaborator

Choose a reason for hiding this comment

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

Suggested change
export interface ModalProps {
interface ModalProps {

ModalPropsは使っていなので、exportしなくていいかと思います!

import { SponsorStyle } from '@type/common';

interface ModalProps {
export interface ModalProps {
Copy link
Collaborator

Choose a reason for hiding this comment

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

Suggested change
export interface ModalProps {
interface ModalProps {

ここも!

import { AddButton } from '@components/common';

interface Props {
export interface Props {
Copy link
Collaborator

Choose a reason for hiding this comment

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

Suggested change
export interface Props {
interface Props {

ここも!

import { DeleteButton } from '@components/common';

interface Props {
export interface Props {
Copy link
Collaborator

Choose a reason for hiding this comment

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

Suggested change
export interface Props {
interface Props {

ここも!

Copy link
Collaborator

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 {
Copy link
Collaborator

Choose a reason for hiding this comment

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

Suggested change
export interface Props {
interface Props {

Copy link
Collaborator

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 {
Copy link
Collaborator

Choose a reason for hiding this comment

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

Suggested change
export interface ModalProps {
interface ModalProps {

Copy link
Collaborator

@Kubosaka Kubosaka left a 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 {
Copy link
Collaborator

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 {
Copy link
Collaborator

Choose a reason for hiding this comment

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

ここもです

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

既存コンポーネントをStorybook上に表示する(/sponsorstyles)

4 participants