File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -70,7 +70,7 @@ Name | Type | Default
7070** className** |` string ` | none
7171** disabled** |` boolean ` | none
7272** readOnly** |` boolean ` | none
73- ** style** |` object ` | none
73+ ** style** |` object ` or ` false ` | none
7474** size** |` number ` or ` string ` | none
7575** mobile** |` true ` , ` false ` , 'auto' or ` function ` |` auto `
7676
@@ -109,7 +109,8 @@ NumericInput.style.input.color = 'red';
109109Finally, you can still use CSS if you want. Each component's root element has the
110110` react-numeric-input ` class so that it is easy to find these widgets on the page. However,
111111keep in mind that because of the inline styles you might need to use ` !important ` for some
112- rules. Example:
112+ rules unless you pass ` style={false} ` which will disable the inline styles and you will
113+ have to provide your own CSS styles for everything. Example:
113114``` css
114115.react-numeric-input input {
115116 color : red ;
You can’t perform that action at this time.
0 commit comments