diff --git a/apps/docs/src/lib/playground-default-code.tsx b/apps/docs/src/lib/playground-default-code.tsx index 02a28e02..6e0fced0 100644 --- a/apps/docs/src/lib/playground-default-code.tsx +++ b/apps/docs/src/lib/playground-default-code.tsx @@ -1,5 +1,37 @@ +import { Box } from '@luke-ui/react/box'; import { Button } from '@luke-ui/react/button'; +import { Heading } from '@luke-ui/react/heading'; +import { TextField } from '@luke-ui/react/text-field'; -export default function Example() { - return ; -} +export default () => { + const handleSubmit = (event: React.SubmitEvent) => { + event.preventDefault(); + const formData = new FormData(event.target); + window.alert(JSON.stringify(Object.fromEntries(formData), null, 2)); + }; + return ( +
} + > + Sign in + + + + + + + + ); +};