2.1.4 • Published 2 years ago

@dominate-color-js/solid v2.1.4

Weekly downloads
-
License
MIT
Repository
github
Last release
2 years 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

2 years ago

1.1.4

2 years ago

1.1.2

2 years ago