@scripty/react-color-filter
v0.1.0
Published
# Description
Downloads
3
Readme
@scripty/react-color-filter
Description
react-color-filter component.
Usage
npm install -s @scripty/react-color-filter
Client: Example.jsx
import React, {useState} from 'react';
import { ColorFilter } from '@scripty/react-color-filter';
const App = () => {
const [colors] = useState(['#cd1212', '#53e239']);
const [filter, setFilter] = useState(['#cd1212']);
return <ColorFilter setFilter={setFilter} colors={colors} filter={filter} />;
}