0.1.11 • Published 2 months ago
@halohubio/graphql_tailwind_base v0.1.11
graphql_tailwind_base
graphql_tailwind_base is a React component component library, as the name suggest, this will serve as my playground where I can show off some of the cool component ideas I have and will be available for the public to use via npm.
Installing graphql_tailwind_base
To use graphql_tailwind_base components, all you need to do is install the @halohubio/graphql_tailwind_base
package
$ yarn add @halohubio/graphql_tailwind_base
# or
$ npm i @halohubio/graphql_tailwind_base
Usage
To start using the components, please follow these steps:
- Import stylesheets manually
import '@halohubio/graphql_tailwind_base/dist/styles.css'
- Now you can start using components like so
import { useState } from 'react'
import { Switch } from '@halohubio/graphql_tailwind_base'
function Example() {
const [checked, setChecked] = useState(false)
return <Switch checked={checked} onChange={setChecked} />
}
0.1.10
4 months ago
0.1.11
2 months ago
0.1.9
7 months ago
0.1.8
7 months ago
0.1.7
7 months ago
0.1.6
7 months ago
0.1.5
7 months ago
0.1.4
7 months ago
0.1.3
7 months ago
0.1.2
7 months ago
0.1.1
7 months ago
0.1.0
7 months ago
0.0.9
7 months ago
0.0.8
7 months ago
0.0.7
7 months ago
0.0.6
7 months ago
0.0.5
7 months ago
0.0.4
7 months ago
0.0.3
7 months ago
0.0.2
7 months ago
0.0.1
7 months ago