Skip to content

Update README with reference to noStyle props #120

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

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ Name | Type | Default
**className** |`string` | none
**disabled** |`boolean` | none
**readOnly** |`boolean` | none
**style** |`object` or `false` | none
**noStyle** |`boolean` | none
**size** |`number` or `string` | none
**mobile** |`true`, `false`, 'auto' or `function`|`auto`
**snap** |`boolean` | none (false)
Expand Down Expand Up @@ -139,7 +139,7 @@ NumericInput.style.input.color = 'red';
Finally, you can still use CSS if you want. Each component's root element has the
`react-numeric-input` class so that it is easy to find these widgets on the page. However,
keep in mind that because of the inline styles you might need to use `!important` for some
rules unless you pass `style={false}` which will disable the inline styles and you will
rules unless you pass the `noStyle` props which will disable the inline styles and you will
have to provide your own CSS styles for everything. Example:
```css
.react-numeric-input input {
Expand Down