Skip to content
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

Merged
merged 3 commits into from
Mar 8, 2017

Conversation

rereradu
Copy link
Contributor

@rereradu rereradu commented Mar 7, 2017

No description provided.

@janowsiany janowsiany requested a review from radekmie March 7, 2017 09:59
@janowsiany janowsiany added the Type: Feature New features and feature requests label Mar 7, 2017
@janowsiany janowsiany assigned janowsiany and radekmie and unassigned janowsiany Mar 7, 2017
@@ -17,10 +17,11 @@ const Nest = ({
itemProps,
label,
name,
grouped = true,
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Keep props sorted.

@radekmie radekmie removed their assignment Mar 7, 2017
// In Semantic, fields can be grouped using this class. By default,
// this class is added to the NestField.
// Available in:
// semantic
Copy link
Contributor

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,
Copy link
Contributor

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.

@radekmie radekmie merged commit 2c462c3 into vazco:master Mar 8, 2017
@radekmie
Copy link
Contributor

radekmie commented Mar 8, 2017

Thank you @rereradu!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Type: Feature New features and feature requests
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

3 participants