ReactMaterial3/dist/src/components/FloatingActionButton.d.ts

25 lines
736 B
TypeScript

import { default as React } from 'react';
import { AriaProps } from '../types/aria';
type FABProps = AriaProps & {
children: React.ReactNode;
className?: string;
id?: string;
variant?: 'surface' | 'primary' | 'secondary' | 'tertiary';
size?: 'medium' | 'large';
label?: string;
lowered?: boolean;
};
export declare const FAB: (props: FABProps) => React.JSX.Element;
type BrandedFABProps = AriaProps & {
children: React.ReactNode;
className?: string;
id?: string;
variant?: 'surface' | 'primary' | 'secondary' | 'tertiary';
size?: 'medium' | 'large';
label?: string;
lowered?: boolean;
};
export declare const BrandedFAB: (props: BrandedFABProps) => React.JSX.Element;
export {};