-
-
Notifications
You must be signed in to change notification settings - Fork 245
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
Added possibility to remove "grouped" class from NestField (closes #202) #227
Conversation
@@ -17,10 +17,11 @@ const Nest = ({ | |||
itemProps, | |||
label, | |||
name, | |||
grouped = true, |
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.
Keep props sorted.
// In Semantic, fields can be grouped using this class. By default, | ||
// this class is added to the NestField. | ||
// Available in: | ||
// semantic |
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.
👍 for keeping API up to date.
@@ -14,13 +14,14 @@ const Nest = ({ | |||
error, | |||
errorMessage, | |||
fields, | |||
grouped = true, |
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.
Please, use defaultProps
instead - it produces less code.
Thank you @rereradu! |
No description provided.