DocSpace-buildtools/packages/asc-web-common/components/Loaders/ArticleButtonLoader
2022-03-18 12:39:30 +03:00
..
ArticleButtonLoader.js Web:Common:Loaders: update article loaders 2022-03-15 17:41:37 +03:00
ArticleButtonLoader.stories.js Web:Common:Loaders: update article loaders 2022-03-15 17:41:37 +03:00
index.js Web:Common:Loaders: update article loaders 2022-03-15 17:41:37 +03:00
README.md Web:Common:Loaders: update article loaders 2022-03-15 17:41:37 +03:00
StyledMainButton.js Web:Common: fix article main button padding and margin 2022-03-18 12:39:30 +03:00

Main Button Loader

Component that displays main button loader

Usage

import Loaders from "@appserver/common/components/Loaders";
<Loaders.ArticleButton />

Properties

Props Type Required Values Default Description
title string - - `` It's used to describe what element it is.
width string - - 100% Sets the width
height string - - 32 Sets the height
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