import type { ReactNode } from 'react'; import React from 'react'; type LabelTextStatus = 'error'; interface Props { /** * Unique ID for the component */ id?: string; /** * Content of LabelText component */ children?: ReactNode; /** * Allows to pass a custom 'for' attribute */ htmlFor?: string; /** * Styling of `label` element changes depending on the passed status * * @param {LabelTextStatus} undefined Default styling * @param {LabelTextStatus} error Changes color to `theme.color.notification.error` */ status?: LabelTextStatus; /** * Allows to set element as mandatory * * @default false */ isMandatory?: boolean; /** * Allows to pass a custom className */ className?: string; /** * Allows to pass testid string for testing purposes */ 'data-testid'?: string; } /** @visibleName Label Text */ declare const LabelText: ({ "data-testid": dataTestId, ...props }: Props) => React.JSX.Element; export default LabelText;