File tree Expand file tree Collapse file tree 1 file changed +33
-0
lines changed
tailwind_components/forms Expand file tree Collapse file tree 1 file changed +33
-0
lines changed Original file line number Diff line number Diff line change 1+ import { stripIndent } from "react-codepen-prefill-embed" ;
2+
3+ const check_box = stripIndent `
4+ <div className="flex justify-center mt-56 bg-slate-300 w-1/2 mx-auto p-4">
5+ <div>
6+ <div className="form-check">
7+ <input className="form-check-input h-4 w-4 border border-blue-500 rounded-sm bg-white checked:bg-blue-600 checked:border-blue-600 focus:outline-none transition duration-200 mt-1 align-top bg-no-repeat bg-center bg-contain float-left mr-2 cursor-pointer " type="checkbox" value="" id="flexCheckDefault"/>
8+ <label className="form-check-label inline-block text-gray-800" for="flexCheckDefault">
9+ Checkbox
10+ </label>
11+ </div>
12+ <div className="form-check">
13+ <input className="form-check-input h-4 w-4 border border-blue-500 rounded-sm bg-white checked:bg-blue-600 checked:border-blue-600 focus:outline-none transition duration-200 mt-1 align-top bg-no-repeat bg-center bg-contain float-left mr-2 cursor-pointer " type="checkbox" value="" id="flexCheckDefault"/>
14+ <label className="form-check-label inline-block text-gray-800" for="flexCheckDefault">
15+ Checkbox
16+ </label>
17+ </div>
18+ <div className="form-check">
19+ <input className="form-check-input h-4 w-4 border border-blue-500 rounded-sm bg-white checked:bg-blue-600 checked:border-blue-600 focus:outline-none transition duration-200 mt-1 align-top bg-no-repeat bg-center bg-contain float-left mr-2 cursor-pointer " type="checkbox" value="" id="flexCheckDefault"/>
20+ <label className="form-check-label inline-block text-gray-800" for="flexCheckDefault">
21+ Checkbox
22+ </label>
23+ </div>
24+ <div className="form-check">
25+ <input className="form-check-input h-4 w-4 border border-blue-500 rounded-sm bg-white checked:bg-blue-600 checked:border-blue-600 focus:outline-none transition duration-200 mt-1 align-top bg-no-repeat bg-center bg-contain float-left mr-2 cursor-pointer " type="checkbox" value="" id="flexCheckDefault"/>
26+ <label className="form-check-label inline-block text-gray-800" for="flexCheckDefault">
27+ Checkbox
28+ </label>
29+ </div>
30+ </div>
31+ </div>` ;
32+
33+ export default check_box ;
You can’t perform that action at this time.
0 commit comments