@engie-group/fluid-design-system
Version:
The Fluid Design System is ENGIE’s open-source library to create, build and deliver ENGIE digital services in a more efficient way.
24 lines (23 loc) • 497 B
TypeScript
import { Scale } from "../../variations";
export type FabProperties = {
/**
* Floating action button size
*/
scale?: Extract<Scale, 'sm' | 'md'>;
/**
* Whether FAB should rotate or not
*/
noRotate?: boolean;
/**
* FAB theme variant
*/
variant?: 'default' | 'light';
/**
* Material icon name https://material.io/resources/icons/?style=baseline
*/
icon: string;
/**
* Hidden text label
*/
label?: string;
};