mirror of
https://github.com/awatertrevi/infisical.git
synced 2026-09-22 13:39:35 +00:00
Fix: Document formatting & changed tooltipText prop to ReactNode type
This commit is contained in:
@@ -13,8 +13,8 @@ export type FormLabelProps = {
|
||||
label?: ReactNode;
|
||||
icon?: ReactNode;
|
||||
className?: string;
|
||||
tooltipText?: string;
|
||||
tooltipClassName?: string;
|
||||
tooltipText?: ReactNode;
|
||||
};
|
||||
|
||||
export const FormLabel = ({
|
||||
@@ -24,8 +24,8 @@ export const FormLabel = ({
|
||||
icon,
|
||||
className,
|
||||
isOptional,
|
||||
tooltipText,
|
||||
tooltipClassName
|
||||
tooltipClassName,
|
||||
tooltipText
|
||||
}: FormLabelProps) => (
|
||||
<Label.Root
|
||||
className={twMerge(
|
||||
|
||||
Reference in New Issue
Block a user