@uifabric/experiments
Version:
Experimental React components for building experiences for Microsoft 365.
31 lines (30 loc) • 1.19 kB
TypeScript
import * as React from 'react';
import { IComponent } from '@uifabric/foundation/lib/next/IComponent';
import { IButtonProps, IButtonSlots, IButtonStyles, IButtonTokens } from '../Button.types';
/**
* @deprecated This component was experimental and is not longer being developed on, nor will it be supported in the
* future.
*/
export interface ICompoundButtonProps extends IButtonProps {
/** @deprecated */
secondaryText?: string;
}
/** @deprecated */
export interface ICompoundButtonViewProps extends ICompoundButtonProps {
}
/** @deprecated */
export interface ICompountButtonTokens extends IButtonTokens {
/** @deprecated */
secondaryColor?: string;
/** @deprecated */
secondaryColorHovered?: string;
/** @deprecated */
secondaryColorPressed?: string;
}
/** @deprecated */
export declare type ICompoundButtonComponent = IComponent<ICompoundButtonProps, ICompountButtonTokens, IButtonStyles, ICompoundButtonViewProps, IButtonSlots>;
/**
* @deprecated This component was experimental and is not longer being developed on, nor will it be supported in the
* future.
*/
export declare const CompoundButton: React.FunctionComponent<ICompoundButtonProps>;