UNPKG

@sap-ux/ui-components

Version:
35 lines 1.15 kB
import React from 'react'; import type { ICheckboxProps, ICheckboxStyles, ICheckboxStyleProps } from '@fluentui/react'; import type { UIComponentMessagesProps, InputValidationMessageInfo } from '../../helper/ValidationMessage'; export interface UICheckboxProps extends ICheckboxProps, UIComponentMessagesProps { CheckboxMinWidth?: number; } /** * UICheckbox component. * based on https://developer.microsoft.com/en-us/fluentui#/controls/web/checkbox * * @exports * @class UICheckbox * @extends {React.Component<ICheckboxProps, {}>} */ export declare class UICheckbox extends React.Component<UICheckboxProps, {}> { GlobalClassNames: { root: string; label: string; checkbox: string; checkmark: string; text: string; }; /** * Initializes component properties. * * @param {UICheckboxProps} props */ constructor(props: UICheckboxProps); protected setStyle: (messageInfo: InputValidationMessageInfo, props: ICheckboxStyleProps) => ICheckboxStyles; /** * @returns {JSX.Element} */ render(): JSX.Element; } //# sourceMappingURL=UICheckbox.d.ts.map