-
Notifications
You must be signed in to change notification settings - Fork 99
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: add DefinitionList and HelpMark #1731
Conversation
Preview is ready. |
Visual Tests Report is ready. |
82c4a7e
to
02cb48e
Compare
if (isItem) { | ||
normalizedItems.push(item); | ||
} else { | ||
warnOnce('Only <DefinitionList.Item> components is allowed inside <DefinitionList>'); |
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.
warnOnce('Only <DefinitionList.Item> components is allowed inside <DefinitionList>'); | |
warnOnce('[DefinitionList] Only <DefinitionList.Item> components is allowed as children'); |
@@ -0,0 +1,2 @@ | |||
export {DefinitionList} from './DefinitionList'; |
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.
Let's reexport DefinitionListItem
component as well. There might be issues with dot notation in Next.js applications
src/components/HelpMark/README.md
Outdated
|
||
## Properties | ||
|
||
| Property | Type | Required | Default | Description | |
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.
Let's use columns in this order and names: Name, Description, Type, Default
, no Required column, Type and Default should be center aligned
No description provided.