-
Notifications
You must be signed in to change notification settings - Fork 26
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(react): Adds FieldWrap component #498
Conversation
Preview branch generated at https://field-wrap.d1gko6en628vir.amplifyapp.com |
} | ||
}} | ||
/> | ||
<FieldWrap> |
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.
resolves a11y issues in #386
} | ||
|
||
/* reset absurd browser-default legend styles */ | ||
.Panel legend { |
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've made it so the legend matches the exact styling of the Panel__Heading elements
} | ||
}} | ||
/> | ||
<FieldWrap> |
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.
resolves a11y issues in #386
@@ -15,7 +16,8 @@ export default class RadioGroupDemo extends Component { | |||
render() { | |||
const { value } = this.state; | |||
return ( | |||
<div> | |||
<FieldWrap> |
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.
resolves a11y issues in #386
@@ -21,7 +22,8 @@ const SelectDemo = () => { | |||
const [currentValue, setCurrentValue] = useState('Maybe'); | |||
|
|||
return ( | |||
<div className="SelectDemo"> | |||
<FieldWrap className="SelectDemo"> |
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.
resolves a11y issues in #386
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!
Preview branch generated at https://field-wrap.d1gko6en628vir.amplifyapp.com |
No description provided.