@retailmenot/anchor
Version:
A React UI Library by RetailMeNot
18 lines (17 loc) • 735 B
TypeScript
import * as React from 'react';
import { TypographyProps } from '../../Typography/Typography.component';
import { SpaceProps } from '@xstyled/system';
interface ControlLabelProps extends SpaceProps, TypographyProps, React.HTMLAttributes<any> {
className?: string;
id?: string;
children?: any;
disabled?: boolean;
value?: string;
label: string;
name?: string;
control?: React.ReactElement<any>;
labelPlacement?: 'left' | 'right';
labelSpacing?: string | number;
}
export declare const ControlLabel: ({ id, label, className, labelPlacement, labelSpacing, marginBottom, lineHeight, value, disabled, control, name, ...props }: ControlLabelProps) => React.ReactElement<ControlLabelProps>;
export {};