@halohubio/graphql_tailwind_base
TypeScript icon, indicating that this package has built-in type declarations

0.1.11 • Public • Published

graphql_tailwind_base

NPM Downloads

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:

  1. Import stylesheets manually
import '@halohubio/graphql_tailwind_base/dist/styles.css'
  1. 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} />
}

Readme

Keywords

none

Package Sidebar

Install

npm i @halohubio/graphql_tailwind_base

Weekly Downloads

1

Version

0.1.11

License

MIT

Unpacked Size

2.34 MB

Total Files

113

Last publish

Collaborators

  • devjoy