@professorragna/image
TypeScript icon, indicating that this package has built-in type declarations

1.0.4 • Public • Published

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!

Package Sidebar

Install

npm i @professorragna/image

Weekly Downloads

3

Version

1.0.4

License

ISC

Unpacked Size

4.85 kB

Total Files

11

Last publish

Collaborators

  • professorragna