/**
 * Source code string shown in the Storybook Docs tab for the LoginForm story.
 *
 * Demonstrates the minimal Form + Field + useZodForm integration pattern.
 */
declare const loginFormSource = "\nimport {\n  Form,\n  Field,\n  FieldLabel,\n  FieldControl,\n  useZodForm,\n  SimpleInput,\n  Button,\n  Box,\n  Text\n} from '@jtl-software/platform-ui-react';\nimport { z } from 'zod';\n\nconst loginFormSchema = z.object({\n  email: z.string().email({ message: 'Please enter a valid email address' }),\n  password: z.string().min(1, { message: 'Password is required' }),\n});\n\nconst LoginForm: React.FC = () => {\n  const form = useZodForm({\n    schema: loginFormSchema,\n    defaultValues: { email: '', password: '' },\n  });\n\n  const onSubmit = (data: z.infer<typeof loginFormSchema>) => {\n    console.log(data);\n  };\n\n  return (\n    <Form form={form} onSubmit={onSubmit}>\n      <Box className=\"flex flex-col gap-4\">\n        <Field name=\"email\">\n          <FieldLabel required>Email</FieldLabel>\n          <FieldControl>\n            <SimpleInput type=\"email\" placeholder=\"Enter your email\" />\n          </FieldControl>\n        </Field>\n\n        <Field name=\"password\">\n          <FieldLabel required>Password</FieldLabel>\n          <FieldControl>\n            <SimpleInput type=\"password\" placeholder=\"Enter your password\" />\n          </FieldControl>\n        </Field>\n\n        <Button variant=\"default\" type=\"submit\" label=\"Login\" />\n      </Box>\n    </Form>\n  );\n};\n";
export default loginFormSource;
