-
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
feat!: FormControl,Fieldsetのtitleにアイコンやボタンを含めずマークアップできるよう属性を追加 #5235
base: master
Are you sure you want to change the base?
Conversation
6f55e03
to
9ea6d3d
Compare
commit: |
577e831
to
8533d2d
Compare
packages/smarthr-ui/src/components/Fieldset/stories/VRTFieldset.stories.tsx
Outdated
Show resolved
Hide resolved
520e3b3
to
3bb1b54
Compare
e80e201
to
4ede5a1
Compare
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.
全部見きれてないんですが、一旦コメントします!
- スタイリングは tailwind-variants に寄せたい
- 早期 return の方が可読性は高そう(不用意なコード差分も出るのでレビューコストも上がってるように感じる)
4ede5a1
to
675c8ff
Compare
675c8ff
to
ea182a5
Compare
…-add-props-for-form-control
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.
packages/smarthr-ui/src/components/Fieldset/stories/Fieldset.stories.tsx
Outdated
Show resolved
Hide resolved
↑の状況を発見、調整し、↓のようにhtmlForとlabelIdが不要なpropsになりそうだったため、属性からomitしています |
62bef57
to
38a8849
Compare
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~
…-add-props-for-form-control
関連URL
概要
label
legend
要素の子としてmarkupされる変更内容
確認方法