UNPKG

onairos

Version:

The Onairos Library is a collection of functions that enable Applications to connect and communicate data with Onairos Identities via User Authorization. Integration for developers is seamless, simple and effective for all applications. LLM SDK capabiliti

30 lines (25 loc) 532 B
import React from 'react'; /** * Label Component * A customizable label component for form elements */ export function Label({ htmlFor, children, className = '', ...props }) { // Base classes const baseClasses = 'text-sm font-medium leading-none peer-disabled:cursor-not-allowed peer-disabled:opacity-70'; const classes = `${baseClasses} ${className}`; return ( <label htmlFor={htmlFor} className={classes} {...props} > {children} </label> ); } export default Label;