DocSpace-client/packages/asc-web-components/code-input
2022-02-07 08:00:20 +03:00
..
code-input.stories.js Web: Components: add code-input 2022-02-03 00:57:47 +03:00
code-input.test.js Web: Components: add code-input test 2022-02-03 01:48:33 +03:00
index.js Web: Components: fix warning 2022-02-07 07:57:49 +03:00
README.md Web: Components: add readme for code-input 2022-02-03 01:04:23 +03:00
styled-code-input.js Web: Components: fix style 2022-02-07 08:00:20 +03:00

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