color picker component

This commit is contained in:
Stian Fredrik Aune
2021-05-23 23:51:31 +02:00
parent f045bc0f4d
commit e1f38e3dcd
5 changed files with 75 additions and 2 deletions
+6 -1
View File
@@ -1,9 +1,14 @@
import React from 'react';
import {HookRouter, navigate, usePath, useRoutes} from "hookrouter";
import {Tabs} from "./primitives/Layout";
import {HSColorPicker} from "./primitives/Forms";
const routeObj: HookRouter.RouteObject = {
"/": () => <div>1</div>,
"/": () => (
<div>
<HSColorPicker h={60} s={1} onChange={() => void(0)}/>
</div>
),
"/devices": () => <div>2</div>,
"/settings": () => <div>3</div>,
}