1 contributor
Like
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
and packages in Bit or NPM to the example. any of the 1 million componentstoggle 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:
Name | Type | Default | Description |
---|---|---|---|
variant | ‘horizontal’ | ‘vertical’ | horizontal | - |
width | number | string | 500 | - |
height | number | string | 500 | - |