@wonderflow/react-components
Version:
UI components from Wonderflow's Wanda design system
19 lines • 608 B
TypeScript
import { ReactElement } from 'react';
export declare type ElevatorProps = {
/**
* Set the elevation of the component when is resting.
*/
resting: 0 | 1 | 2 | 3 | 4;
/**
* Set the elevation of the component when is hovered.
*/
hover?: 0 | 1 | 2 | 3 | 4;
/**
* The content to be elevated.
* This component doesn't generate any wrapper.
* It just applies the elevation by adding the respective attribvtes to the children.
*/
children: ReactElement;
};
export declare const Elevator: FCChildren<ElevatorProps>;
//# sourceMappingURL=elevator.d.ts.map