import * as React from 'react'; import type { IconProps } from '@planview/pv-icons'; type LabelProps = React.LabelHTMLAttributes & { /** Label text, generally a string */ children: React.ReactNode; /** Should the asterisk be shown? Setting is ignored if requiredTooltip is provided */ required?: boolean; /** Text to be shown when hovering over the asterisk */ requiredTooltip?: string; /** Icon to be shown. Defaults to Help icon if iconTooltip is provided without specifying an icon */ icon?: React.ReactElement; /** Text to be shown when hovering over the icon */ iconTooltip?: string; /** * Determines if the label is rendered as a `label` or `span` element. Use false when * a `label` element would be semantically incorrect for your use case. */ useLabelElement?: boolean; }; /** * Implementation of the [Label specification](https://design.planview.com/components/forms/form-label) * * `import { Label } from '@planview/pv-form'` */ declare const Label: React.FC; export { Label }; export default Label; //# sourceMappingURL=index.d.ts.map