@pongo-ui/react-input
TypeScript icon, indicating that this package has built-in type declarations

0.2.9 • Public • Published

Input

A set of components that enable users to input and edit given values.

Use

  1. Install the @pongo-ui/react-input component.

Using NPM

npm install @pongo-ui/react-input

Using Yarn

yarn add @pongo-ui/react-input
  1. Install the @pongo-ui/react-provider and our theme tokens from @pongo-ui/react-theme

  2. Set up the provider in your app:

import { Provider } from '@pongo-ui/react-provider'
import { webLightTheme } from '@pongo-ui/react-theme'

const MyApp = () => {
  return (
    <Provider theme={webLightTheme}>
    <Provider>
  )
}
  1. Integrate the Input component.
import { Provider } from '@pongo-ui/react-provider'
import { webLightTheme } from '@pongo-ui/react-theme'
import { Input } from '@pongo-ui/react-input'

const MyApp = () => {
  return (
    <Provider theme={webLightTheme}>
      <Input />
    <Provider>
  )
}

API

To learn more about the Input API take a look at the Input Interface file.

Readme

Keywords

none

Package Sidebar

Install

npm i @pongo-ui/react-input

Weekly Downloads

2

Version

0.2.9

License

MIT

Unpacked Size

523 kB

Total Files

448

Last publish

Collaborators

  • pongobuild
  • czearing