@bartimaeus/components
v1.5.7
Published
React components used by my personal projects
Downloads
60
Readme
React Components
I often find myself using Ant Design and customizing it a bit for my needs. Creating a repo of shared React components for use in my personal projects.
Usage
Install
cd [project_using_current_package]
yalc add @bartimaeus/components
yarn install
Example
import React, { useState } from 'react'
import { ColorPicker } from '@bartimaeus/components'
export default = () => {
const [value, onChange] = useState('404040')
render() {
return <ColorPicker value={value} onChange={onChange} />
}
}
Development
Currently, development is happening with yalc
so that the package can be used locally without publishing to an npm repository.
If you don't have yalc installed, then install it locally: npm install -g yalc
Install dependencies
yarn install
Start up Storybook
yarn start
Make and commit the changes
Publish with
yalc
yalc publish cd [project_using_current_package] yalc update yarn install
License
@bartimaeus/components is MIT licensed