.. | ||
code-input.stories.js | ||
code-input.test.js | ||
index.js | ||
README.md | ||
styled-code-input.js |
Code Input
Input field for auth code.
Usage
import CodeInput from "@appserver/components/code-input";
<CodeInput className="code-input" onSubmit={onSubmit} />
Properties
Props | Type | Required | Values | Default | Description |
---|---|---|---|---|---|
className |
string |
- | - | - | Accepts class |
id |
string |
- | - | - | Accepts id |
onSubmit |
func |
✅ | - | - | What the will trigger when press Enter |
style |
obj , array |
- | - | - | Accepts css style |