-
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
Table周りの破壊的変更 #160
Table周りの破壊的変更 #160
Conversation
// MEMO: nameを廃止して、headerCellのみにすることも可能 | ||
// 他の破壊的変更に合わせて行うのが良さそう |
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.
nameはなんだかんだkey
propsやsortキーとして用いるので、必要そう。
</RequiredBadge> | ||
)} | ||
</Flex> | ||
<Typography component="div" weight="bold" size="md" lineHeight="normal"> |
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.
そういえばなんでlineHeight
はdefaultで1.4
なんだろう:thinking:
<Table.HeaderCell width="177px"> | ||
<Flex | ||
display="flex" | ||
justifyContent="space-between" | ||
alignItems="center" | ||
> | ||
<Typography component="div" weight="bold" size="md"> | ||
タイトル | ||
</Typography> | ||
<Badge color="danger" fontWeight="bold"> | ||
必須 | ||
</Badge> | ||
</Flex> |
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.
こんな感じで中身を自由に定義できるようにした。
@noronaoki |
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です!
close: #125
ついでに https://github.com/voyagegroup/fluct_XDC/issues/53 も対応。
あとは、
<DataTable />
のpropsの構造を変えた。