2.1.4 • Published 11 months ago

@dominate-color-js/solid v2.1.4

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

Installation

npm install @dominate-color-js/solid
yarn add @dominate-color-js/solid
pnpm add @dominate-color-js/solid

Basic Example

import { useColorDetection } from "@dominate-color-js/solid";


const App = () => {

    const {colors , loading} = useColorDetection()

    return <div>{loading ? "loading..." : colors.map((color) => { 
        return <span>{color}</span>   
    })}</div>
}

a more detailed version

2.1.4

11 months ago

1.1.4

1 year ago

1.1.2

1 year ago