DocSpace-client/packages/components/floating-button
2023-11-16 14:32:55 +05:00
..
floating-button.js Web:Components:FloatingButton Fixed cyclic dependencies 2023-11-16 14:32:55 +05:00
floating-button.stories.js figma links were added 2023-07-03 13:31:26 +05:00
FloatingButton.theme.styled.ts Web:Components:FloatingButton Fixed cyclic dependencies 2023-11-16 14:32:55 +05:00
FloatingButton.theme.tsx Web:Components:FloatingButton Fixed cyclic dependencies 2023-11-16 14:32:55 +05:00
index.js Web:Adding history for FloatingButton in the Components module. 2023-05-26 14:39:19 +03:00
README.md Web:Adding history for FloatingButton in the Components module. 2023-05-26 14:39:19 +03:00
styled-floating-button.js Fixed paths 2023-11-10 11:20:02 +04:00

Floating Button

Component that displays floating button

Usage

import FloatingButton from "@docspace/components/floating-button";
<FloatingButton icon="upload" alert={false} />
<FloatingButton icon="trash" alert={true} percent={45} />

Properties

Props Type Required Values Default Description
alert bool - - false Shows the alert
className string - - - Accepts class
icon oneOf - upload, file, trash, move, duplicate upload Sets the icon on the button
id string - - - Accepts id
percent number - - 0 Load fullness
style obj, array - - - Accepts css style