From 789103ef9154b88d84dd58ef2d57cb372528ce8e Mon Sep 17 00:00:00 2001 From: Marius Ahsmus Date: Fri, 10 May 2024 17:18:32 +0200 Subject: [PATCH] updated: input, package version --- components/input/Input.tsx | 6 ++---- package.json | 2 +- 2 files changed, 3 insertions(+), 5 deletions(-) diff --git a/components/input/Input.tsx b/components/input/Input.tsx index 62e2a7b..c5361c3 100644 --- a/components/input/Input.tsx +++ b/components/input/Input.tsx @@ -2,12 +2,10 @@ import React, {forwardRef} from "react"; import { cn } from "../../utils/cn"; interface InputProps extends React.InputHTMLAttributes { - label: string; - placeholder?: string; + label?: string; + placeholder: string; } - - const Input = forwardRef(({ label, placeholder, className, ...props }, ref) => (
{label && ( diff --git a/package.json b/package.json index a2906a7..ddb76ed 100644 --- a/package.json +++ b/package.json @@ -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",