1.0.3 • Published 1 year ago

reactic-ui v1.0.3

Weekly downloads
-
License
MIT
Repository
github
Last release
1 year ago

reactic-ui

It is a package containing basic ui components for ReactJS.

NPM JavaScript Style Guide

Install

npm install --save reactic-ui

Usage

import React from 'react'
import { Button, Submit } from 'reactic-ui'
import 'reactic-ui/dist/index.css'

const App = () => {
  return(
   <>
   <Button>Basic Button</Button>
   <Submit>Send Form</Submit>
   </>
  );
}
export default App;

Props

In addition to the following features, you can also give the onClick or onFocus function.:

PropTypeRequiredDefaultNote
typestringNomosaicButton style. Possible options are: mosaic, grid, edge.
sizestringNomediumSize value of the button. Possible options are: small, medium, large.
darkboolNofalseInverts colors if your page has dark mode.

Advanced Usage

import React from 'react'
import { Button, Submit } from 'reactic-ui'
import 'reactic-ui/dist/index.css'

const App = () => {
  return <Button type="edge" size="small" dark={true}>Disable Dark Mode</Button>
}
export default App;

License

MIT © icetinturkey

1.0.3

1 year ago

1.0.2

1 year ago

1.0.1

1 year ago

1.0.0

1 year ago