Skip to content
Radi Cho edited this page Mar 17, 2019 · 10 revisions

The component, by default, looks like these variants:

Default Focused Filled with text; on focus
Input Selected Input Selected Input filled with text

It can be achieved with the following code:

import { Input } from 'rsg-components'
const app = document.querySelector('#app');
ReactDOM.render(
  <Input>BUTTON</Input>, app
)

The Input component is available after version 3.0.0-beta.1

Props

This component allows all React props related to input, so it's fully customizable.

npm install rsg-components --save
or
yarn add rsg-components

Clone this wiki locally