1.0.31 • Published 1 year ago
agog-things v1.0.31
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.