Skip to content

Commit

Permalink
updated: input, package version
Browse files Browse the repository at this point in the history
  • Loading branch information
mvriu5 committed May 10, 2024
1 parent d8edb38 commit 789103e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 deletions.
6 changes: 2 additions & 4 deletions components/input/Input.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,10 @@ import React, {forwardRef} from "react";
import { cn } from "../../utils/cn";

interface InputProps extends React.InputHTMLAttributes<HTMLInputElement> {
label: string;
placeholder?: string;
label?: string;
placeholder: string;
}



const Input = forwardRef<HTMLInputElement, InputProps>(({ label, placeholder, className, ...props }, ref) => (
<div className={cn("group flex flex-col", className)}>
{label && (
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@marraph/daisy",
"version": "0.0.6",
"version": "0.0.7",
"description": "Daisy is a component library for the marraph organisation",
"scripts": {
"dev": "next dev",
Expand Down

0 comments on commit 789103e

Please sign in to comment.