gif-spacer

v0.1.7arrow_drop_down
v0.1.7
v0.1.6
v0.1.5
v0.1.4
v0.1.3
v0.1.2
STATUS
Passing
DOWNLOADS
390
VISIBILITY
Public
PUBLISHED
4 years ago
SIZE
20 KB
1 contributor
Install gif-spacer as a package?
Copied
npm i @bit/clui.nui-ui.ui.common.gif-spacer
Set Bit as a scoped registryLearn more
npm config set '@bit:registry' https://node.bit.cloud
Component Example
React
React
Vue
Angular
React Native
Add dependency... help_outline
Just
import
any of the 1 million components
and packages in Bit or NPM to the example.
import Button from '@bit/grommet.grommet.button';
import Lodash from 'lodash';
toggle layout
chevron_left
chevron_right

Description

This is an utility component for creating image placeholder and resize image in css without knowing the image width and height.

Import from bit.dev

https://bit.dev/clui/nui-ui/ui/common/gif-spacer

yarn add @bit/clui.nui-ui.ui.common.gif-spacer

import GifSpacer from '@bit/clui.nui-ui.ui.common.gif-spacer';

Props

Below are the props defined for this component:

NameTypeDefaultDescription
variant‘horizontal’ | ‘vertical’horizontal-
widthnumber | string500-
heightnumber | string500-
Help and resources