We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 37d7a19 commit 271dd92Copy full SHA for 271dd92
src/index.js
@@ -37,13 +37,17 @@ export default class ReactNumeric extends React.Component {
37
ref={ref => (this.input = ref)}
38
type={this.props.type}
39
onChange={event => this.props.onChange(event, this.getValue())}
40
+ className={this.props.className}
41
+ style={this.props.style}
42
/>
43
);
44
}
45
46
47
ReactNumeric.propTypes = {
48
type: PropTypes.oneOf(["text", "tel", "hidden"]),
49
+ className: PropTypes.string,
50
+ style: PropTypes.object,
51
allowDecimalPadding: PropTypes.bool,
52
caretPositionOnFocus: PropTypes.number,
53
createLocalList: PropTypes.bool,
0 commit comments