Port over more UI elements.

This commit is contained in:
Paul
2021-06-18 14:20:57 +01:00
parent 7eee2cd7c6
commit 9ac2316ed0
11 changed files with 352 additions and 3 deletions

View File

@@ -1,6 +1,6 @@
import { Check } from '@styled-icons/feather';
import { Children } from "../../types/Preact";
import styled, { css } from 'styled-components';
import { VNode } from 'preact';
const CheckboxBase = styled.label`
gap: 4px;
@@ -62,8 +62,8 @@ interface Props {
checked: boolean;
disabled?: boolean;
className?: string;
children: VNode | string;
description?: VNode | string;
children: Children;
description?: Children;
onChange: (state: boolean) => void;
}