0.1.11 • Published 1 year 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
1 year ago
0.1.11
1 year ago
0.1.9
2 years ago
0.1.8
2 years ago
0.1.7
2 years ago
0.1.6
2 years ago
0.1.5
2 years ago
0.1.4
2 years ago
0.1.3
2 years ago
0.1.2
2 years ago
0.1.1
2 years ago
0.1.0
2 years ago
0.0.9
2 years ago
0.0.8
2 years ago
0.0.7
2 years ago
0.0.6
2 years ago
0.0.5
2 years ago
0.0.4
2 years ago
0.0.3
2 years ago
0.0.2
2 years ago
0.0.1
2 years ago