npm.io
1.0.31 • Published 3 years ago

agog-things

Licence
MIT
Version
1.0.31
Deps
0
Size
354 kB
Vulns
0
Weekly
0

Agog Things

Agog Things is a React UI library.

Installation

Agog Things is available as an npm package.

npm:

npm install agog-things

yarn:

yarn add agog-things

Example usage

An example of using a TextBox component is as follows:

import React, { useState } from 'react'
import {TextBox, TextBoxProps} from 'agog-things'


function App() {

  const [name, setName] = useState()

  const txtName: TextBoxProps = {
    label: 'Name Surname',
    value: name,
    placeholder: 'Your name and surname',
    onChange: (value) => setName(value)
  }
  
  return <TextBox {...txtName}/>;
}

Documentation

License

This project is licensed under the terms of the MIT license.

Keywords