You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There are 3 components left using a previous “input object”, which explicitly expects an input prop to pass all input-related props to their inner <input>. They are:
<Checkbox>
<SearchInput>
<Switch>
As their main purpose is to act as real inputs with custom appearance, they should take all unknown props as input props by default.
The text was updated successfully, but these errors were encountered:
zhusee2
changed the title
Refactor <Switch> to pass unknown props to input
Refactor to abandon 'input object' approach
Jan 30, 2018
zhusee2
changed the title
Refactor to abandon 'input object' approach
Refactor to abandon “input object” approach
Jan 30, 2018
There are 3 components left using a previous “input object”, which explicitly expects an
input
prop to pass all input-related props to their inner<input>
. They are:<Checkbox>
<SearchInput>
<Switch>
As their main purpose is to act as real inputs with custom appearance, they should take all unknown props as input props by default.
The text was updated successfully, but these errors were encountered: