import { For, JSX, mergeProps } from 'solid-js' import { Color, HexColor } from '../../types' import SwatchesColor from './SwatchesColor' type Props = { onClick: (color: Color, event: Event) => void active: HexColor group: string[] } export default function SwatchesGroup(_props: Props) { const props = mergeProps({}, _props) const styles: Record = { group: { 'padding-bottom': '10px', width: '40px', float: 'left', 'margin-right': '10px', }, } return (
{(color, i) => ( )}
) }