image
v1.0.2arrow_drop_downv1.0.2
v1.0.1
v1.0.0
STATUS
Passing
DOWNLOADS
4,615
LICENSE
MIT
VISIBILITY
Public
PUBLISHED
3 years ago
SIZE
3 KB
Template component for images.
1 contributor
Like
Install image as a package?
Copied
npm i @bit/bit.base-ui.elements.image
Set Bit as a scoped registryLearn more
npm config set '@bit:registry' https://node.bit.cloud
Component Example 
modifieddraft
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
BaseImage ()
Template component for images. Accepts all the arguments of native html image.
Example
Properties
Name | Type | Description |
---|---|---|
alt (required) | string | alt text (to comply a11y standards) |
fullWidth | boolean | Makes image fill the whole width of container.
same as |
Test Summary
should render | Pass |
should pass classname | Pass |