proXDhiya / react-image-card

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

react-image-card

A simple react component to display an image with a title and description.

Installation

npm install @proxdhiya/react-image-card

Usage

import React from 'react'

import ImageCard from '@proxdhiya/react-image-card'

const App = () => {
  return (
    <ImageCard
      imageSrc="your-image-url"
      hueRotate="0deg"
      width="300px"
      aspectRatio="16:9"
    />
  )
}

export default App

About


Languages

Language:TypeScript 59.0%Language:JavaScript 21.3%Language:CSS 12.1%Language:HTML 6.4%Language:Shell 1.2%