Add nest endpoints and pages

This commit is contained in:
Matthew Penner 2020-12-31 17:27:16 -07:00
parent 359769244f
commit 6c85be72fa
12 changed files with 473 additions and 10 deletions

View file

@ -0,0 +1,24 @@
import Input from '@/components/elements/Input';
import React from 'react';
import styled from 'styled-components/macro';
import tw from 'twin.macro';
const Checkbox = styled(Input)`
&& {
${tw`border-neutral-500 bg-transparent`};
&:not(:checked) {
${tw`hover:border-neutral-300`};
}
}
`;
export default ({ name }: { name: string }) => {
return (
<Checkbox
name={'selectedItems'}
value={name}
type={'checkbox'}
/>
);
};