'use client' import { ForwardedRef, forwardRef, type InputHTMLAttributes, type ReactElement } from 'react' interface InputProps extends InputHTMLAttributes { /** The input's label */ label?: string /** The input's id */ id: string } /** * Input component * @param {string} label - Label for the input * @param {string} id - Id for the input * @param {string} validationMessage - Validation message for the input * @param {InputHTMLAttributes} props - Other props to pass to the input * @returns {ReactElement} - React element * * @example * * */ export const PktInput = forwardRef( ({ label, id, children, ...props }: InputProps, ref: ForwardedRef): ReactElement => { return (
{children}
) }, ) PktInput.displayName = 'PktInput'