UNPKG

@sap-ux/ui-components

Version:

SAP UI Components Library

35 lines 1.16 kB
import React from 'react'; import type { ICheckboxProps, ICheckboxStyles, ICheckboxStyleProps } from '@fluentui/react'; import type { UIComponentMessagesProps, InputValidationMessageInfo } from '../../helper/ValidationMessage/index.js'; 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