1.0.4 • Published 1 year ago
@professorragna/image v1.0.4
Image Styled Component
Styled component for the <img>
HTML tag
Installation
$ npm i @professorragna/image
Usage
import { Image } from '@professorragna/Image';
<Image
src="https://via.placeholder.com/500"
height="500px"
width="500px"
/>
The <Image>
styled component supports the following categories of styled props:
- border
- flexbox
- grid
- layout
- position
- shadow
- space
For more information on how to use styled props, see the styled-system docs
Additional Packages
Are you looking for additional styled components for other HTML tags? Feel free to check out the root project here for other packages that are available!