1.0.10 • Published 3 years ago
@milkscout/material-ui v1.0.10
MilkScout - react - material-ui
This package contains common components for https://material-ui.com/.
MilkScout want to give something back to the community.
usage npm install @milkscout/material-ui
or yarn add @milkscout/material-ui
peer dependency => react, material-ui
Demo
###NumberField An Field that composite an textfield https://material-ui.com/components/text-fields/#text-field.
The input type is forced to type="text", there will be a chrome like replacement for arrows.
Hints
- no negative numbers supported, because smartphone numbers dont have an minus
- does not contain validation
Events are overridden:
onChange: (value: number | undefined) => void;
onFocus: (value: number | undefined) => void;
onBlur: (value: number | undefined) => void;
onKeyPress: (value: number | undefined) => void;
onKeyUp: (value: number | undefined) => void;
onKeyDown: (value: number | undefined) => void;
Additional attributes: