import React from 'react'; import type { IButtonProps, IButtonStyles } from '@fluentui/react'; import type { UIBaseButtonProps } from './UIBaseButton.types.js'; export interface UISmallButtonProps extends IButtonProps, UIBaseButtonProps { } /** * UISmallButton component * based on https://developer.microsoft.com/en-us/fluentui#/controls/web/button * * @exports * @class UISmallButton * @extends {React.Component} */ export declare class UISmallButton extends React.Component { private readonly _buttonRef; private readonly buttonSecondaryForeground; /** * Initializes component properties. * * @param {IButtonProps} props The props of the component. */ constructor(props: IButtonProps); /** * Method which returns the correct css color. * * @param {string} color First choise color. * @returns {string} CSS value for background color with fallback. */ private getColor; /** * Method which returns the correct css color with a fallback value. * * @param {string} color First choise color. * @param {string} fallbackColor fallback choise color. * @returns {string} CSS value for background color with fallback. */ private getColorwithFallback; protected setStyle: (props: IButtonProps) => IButtonStyles; /** * @returns {JSX.Element} the rendered component. */ render(): JSX.Element; } //# sourceMappingURL=UISmallButton.d.ts.map