2.0.2 • Published 8 months ago

burano v2.0.2

Weekly downloads
-
License
MIT
Repository
github
Last release
8 months ago

burano

🎨 Color Picker for React.

Installation & Usage

npm install burano
import React, { useState } from 'react'
import { ColorPicker } from 'burano'

export const MyPicker = () => {
  const [color, setColor] = useState('#00FF00')

  return <ColorPicker color={color} onColor={setColor} />
}

Options

<ColorPicker
    color={string} // The initial color, default black.
    onColor={(color: string) => void} // Handle new color, required.
    style={CSSProperties} // Styles applied to wrapper div, optional.
    input={boolean} // Show input, default true.
    palette={boolean} // Show color palette, default true.
/>
2.0.2

8 months ago

2.0.1

1 year ago

2.0.0

2 years ago

1.0.0

3 years ago