UNPKG

@sap-ux/ui-components

Version:
35 lines 1.12 kB
import React from 'react'; import type { IButtonProps, IButtonStyles } from '@fluentui/react'; /** * */ export declare class UISmallButton extends React.Component<IButtonProps, {}> { private 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