DocSpace-client/packages/components/code-input
2023-05-16 18:57:09 +05:00
..
code-input.stories.js Web: Moved all clients app to packages directory 2022-07-22 22:01:25 +03:00
code-input.test.js Web: Moved all clients app to packages directory 2022-07-22 22:01:25 +03:00
index.js Web: renamed code input callback function 2023-05-16 18:57:09 +05:00
README.md Web: renamed code input callback function 2023-05-16 18:57:09 +05:00
styled-code-input.js Components: CodeInput: fix style 2022-11-16 00:53:24 +05:00

Code Input

Input field for auth code.

Usage

import CodeInput from "@docspace/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
onChange func - - - Sets a callback function that is triggered on the onChange event