shadcn-ui-react 0.3.4 → 0.3.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -65,6 +65,7 @@ export default function App() {
65
65
  - `Dialog`
66
66
  - `Drawer`
67
67
  - `DropdownMenu`
68
+ - `Dropzone`
68
69
  - `HoverCard`
69
70
  - `Input`
70
71
  - `InputOtp`
@@ -173,7 +174,7 @@ import {
173
174
  import * as z from "zod";
174
175
 
175
176
  const formSchema = z.object({
176
- email: z.string({required_error: "Email is required"}).email({ message: "Enter a valid email address" }),
177
+ email: z.string({error: "Email is required"}).email({ message: "Enter a valid email address" }),
177
178
  password: z
178
179
  .string()
179
180
  .min(8, { message: "Password must be at least 8 characters" }),