-
Notifications
You must be signed in to change notification settings - Fork 42
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
Updated documentation for Typography #2324
Conversation
… uyen/flex-doc
… uyen/tree-doc
… uyen/tree-doc
examples/Label.inline.jsx
Outdated
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.
I think this example can be similar to the Label inline react story. Because, Flex
further adds its gap.
Also, since this example is shown next to the list of display styles, I think we have to show an example of "block"
too. The file can be renamed accordingly.
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.
Since the "block"
style is default which is shown in the main example. Should I move it down?
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.
Not sure what you meant by "move it down". But what I meant to say was that this example can also include a label + input pair with "block"
to show the difference between block and inline.
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.
Oh what I meant was to move the main example down to the Display styles
section. I created a LabelSelect
so that users can switch between the two layouts.
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.
Instead of switching between the two, I think we can have two separate Label
+ Input
pairs within the same example, one "block" and the other "inline". That way users can see both simultaneously.
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.
I have combined two labels into one.
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 after all existing comments are marked as resolved 👍
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 after #2324 (comment)
Changes
Updated existed documentation for Typography.
Testing
N/A
Docs
N/A
After-PR TODO:
Label
into another doc page and rearrangeTypography
doc (Updated documentation for Typography #2324 (comment))