mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2025-10-16 12:05:41 +00:00
* lint and config added * input spinner typings added * test file added * updated with semi colons * version fix * version test fix
19 lines
349 B
TypeScript
19 lines
349 B
TypeScript
import * as React from 'react';
|
|
import InputSpinner from 'react-native-input-spinner';
|
|
|
|
class Example extends React.Component {
|
|
render() {
|
|
return (
|
|
<React.Fragment>
|
|
<InputSpinner
|
|
min={0}
|
|
max={50}
|
|
value={10}
|
|
step={5}
|
|
rounded={true}
|
|
/>
|
|
</React.Fragment>
|
|
);
|
|
}
|
|
}
|