DocSpace-buildtools/packages/common/components/FloatingButton
2023-05-18 15:40:58 +03:00
..
FloatingButton.js Web:Common:Fixed when several file operations are running at the same time (deleting files and downloading) the floating download button ceases to be iterative, does not click. 2023-05-18 15:39:57 +03:00
FloatingButton.stories.js Web: Moved all clients app to packages directory 2022-07-22 22:01:25 +03:00
index.js Web: Moved all clients app to packages directory 2022-07-22 22:01:25 +03:00
README.md Web: Moved all clients app to packages directory 2022-07-22 22:01:25 +03:00
StyledFloatingButton.js Merge branch 'hotfix/v1.0.1' of github.com:ONLYOFFICE/AppServer into hotfix/v1.0.1 2023-05-18 15:40:58 +03:00

Floating Button

Component that displays floating button

Usage

import FloatingButton from "@docspace/common/components/FloatingButton";
<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