mirror of
https://github.com/awatertrevi/infisical.git
synced 2026-10-04 19:26:19 +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;
|
label?: ReactNode;
|
||||||
icon?: ReactNode;
|
icon?: ReactNode;
|
||||||
className?: string;
|
className?: string;
|
||||||
tooltipText?: string;
|
|
||||||
tooltipClassName?: string;
|
tooltipClassName?: string;
|
||||||
|
tooltipText?: ReactNode;
|
||||||
};
|
};
|
||||||
|
|
||||||
export const FormLabel = ({
|
export const FormLabel = ({
|
||||||
@@ -24,8 +24,8 @@ export const FormLabel = ({
|
|||||||
icon,
|
icon,
|
||||||
className,
|
className,
|
||||||
isOptional,
|
isOptional,
|
||||||
tooltipText,
|
tooltipClassName,
|
||||||
tooltipClassName
|
tooltipText
|
||||||
}: FormLabelProps) => (
|
}: FormLabelProps) => (
|
||||||
<Label.Root
|
<Label.Root
|
||||||
className={twMerge(
|
className={twMerge(
|
||||||
|
|||||||
Reference in New Issue
Block a user