feat: checkboxCommon

This commit is contained in:
quangnhankie
2021-08-25 17:06:48 +07:00
parent bfec1e8a09
commit 188232e5e3
40 changed files with 2849 additions and 1518 deletions

View File

@@ -1,13 +1,25 @@
import { ButtonCommon, Layout } from 'src/components/common'
import { CarouselCommon, LabelCommon, Layout, QuanittyInput,CheckboxCommon } from 'src/components/common'
const dataTest = [{
text: 1
}, {
text: 2
}, {
text: 3
}, {
text: 4
}, {
text: 5
}, {
text: 6
}]
const test = (props: { text: string }) => <div className="h-64 bg-yellow-300">{props.text}</div>
export default function Home() {
return (
<>
<div>This is home page</div>
<ButtonCommon />
<p>Go to <code>pages/index.tsx</code> to get your hand dirty!</p>
<p>Go to <code>src/components</code> to make your awesome component!</p>
<p>Go to <code>src/styles</code> to find global styles!</p>
<CheckboxCommon defaultChecked={true}></CheckboxCommon>
</>
)
}