Port modal / popover context.

This commit is contained in:
Paul
2021-06-19 18:46:05 +01:00
parent 5b77ed439f
commit 9706dd75f3
57 changed files with 2562 additions and 140 deletions

View File

@@ -60,7 +60,7 @@ const Checkmark = styled.div<{ checked: boolean }>`
`}
`;
interface Props {
export interface CheckboxProps {
checked: boolean;
disabled?: boolean;
className?: string;
@@ -69,7 +69,7 @@ interface Props {
onChange: (state: boolean) => void;
}
export default function Checkbox(props: Props) {
export default function Checkbox(props: CheckboxProps) {
return (
<CheckboxBase disabled={props.disabled}>
<CheckboxContent>