responsive-card
v0.1.17
Published

Downloads
53
Readme
Event Card React Component Library

- The Event Card React Component Library provides a reusable and customizable card component specifically designed for displaying event information in React applications.
- This library simplifies the process of creating visually appealing and interactive event cards, making it easier for developers to showcase events in their applications.
Installation
npm install responsive-card
Usage
To use the Event Card component in your React application, import it into your component file and pass the necessary props:
import Card from 'responsive-card';
<div className="row">
<Card
link="#"
imageSrc="imageURL"
thumbTitle="New York City"
monthTitle="Nov"
dateTitle="15 2024"
cardTitle="Course about business"
statusTitle="Upcoming"
textTitle="Lorem ipsum dolor sit amet, consectetur adipiscing elit. Mae..."
buttonLink="#"
buttonText="Save"
/>
</div>Props
- link (string): The URL link for the card.
- imageSrc (string): The URL of the event's image.
- thumbTitle (string): The thumbnail title.
- monthTitle (string): The month of the event.
- dateTitle (string): The date of the event.
- cardTitle (string): The title of the card.
- statusTitle (string): The status of the event.
- textTitle (string): A brief description of the event.
- buttonLink (string): The URL link for the button.
- buttonText (string): The text displayed on the button.
Customization
The Event Card component can be customized using CSS to match the styling of your application. You can override the default styles by targeting the class names used in the component.
