mirror of
https://github.com/supabase/supabase.git
synced 2026-05-07 09:20:21 -04:00
d07e78a616
This PR runs `prettier` on the `examples` folder. Depends on https://github.com/supabase/supabase/pull/43849.
15 lines
504 B
TypeScript
15 lines
504 B
TypeScript
export default function Step({ title, children }: { title: string; children: React.ReactNode }) {
|
|
return (
|
|
<li className="mx-4">
|
|
<input type="checkbox" id={title} className={`mr-2 peer`} />
|
|
<label
|
|
htmlFor={title}
|
|
className={`text-lg text-foreground/90 peer-checked:line-through font-semibold hover:cursor-pointer`}
|
|
>
|
|
{title}
|
|
</label>
|
|
<div className={`mx-6 text-foreground/80 text-sm peer-checked:line-through`}>{children}</div>
|
|
</li>
|
|
)
|
|
}
|