DocSpace-client/packages/asc-web-common/components/Loaders/ProfileViewLoader
2021-06-11 16:57:17 +03:00
..
index.js Web: Common: fix after merge, fix imports and hierarchy 2021-02-25 17:20:11 +03:00
ProfileViewLoader.js Web: fixed loading people/my, fixed Loaders.ProfileView, deleted unnecessary code 2021-06-11 16:57:17 +03:00
ProfileViewLoader.stories.js Web: Components/Common: fix imports 2021-02-26 00:19:45 +03:00
README.md Web: Components/Common: fix imports 2021-02-26 00:19:45 +03:00
StyledProfileView.js Web: Common: fix after merge, fix imports and hierarchy 2021-02-25 17:20:11 +03:00

Profile View Loader

Component that displays profile view loader

Usage

import Loaders from "@appserver/common/components/Loaders";
<Loaders.ProfileView />
<Loaders.ProfileView isEdit={false} />

Properties

Props Type Required Values Default Description
title string - - `` It's used to describe what element it is.
isEdit bool - - true Show loader of Edit button?
borderRadius string - - 3 Sets the corners rounding
backgroundColor string - - #000000 Used as background of animation
foregroundColor string - - #000000 Used as the foreground of animation
backgroundOpacity number - - 0.2 Background opacity (0 = transparent, 1 = opaque)
foregroundOpacity number - - 0.15 Animation opacity (0 = transparent, 1 = opaque)
speed number - - 2 Animation speed in seconds
animate bool - - true Opt-out of animations