events.mlai
TypeScript icon, indicating that this package has built-in type declarations

1.2.6 • Public • Published

event.mlai

Table of Contents


Description

A component library made with React


Getting Started

To get started with this project, you'll need to have Node.js installed on your machine. Once you have Node.js set up, you can clone this repository and install the dependencies by running the following commands:

  1. git clone https://github.com/Mathieu-ai/ListEvents
  2. cd ListEvents
  3. npm i, yarn install or pnpm i

Usage

Classes:

Classes Explanation
date Date of the events
event-list Wrapper for the main content of the page
event-item Event Card
item-time Wrapper of the title and time of the event
item-time-start Starting time (hours) of the event
item-time-end Ending time (hours) of the event
item-title Title of the event
item-topic Wrapper of the event's topic
item-room Wrapper of the event's room
item-description Wrapper of the event's description

Example:

import { EVENTS } from 'events.mlai';

function App() {
    return (
        <div className="App">
            <div>
                <EVENTS url="https://api-url"></EVENTS>
            </div>
        </div>
    );
}

License

This project is licensed under the MIT License.

/events.mlai/

    Package Sidebar

    Install

    npm i events.mlai

    Weekly Downloads

    1

    Version

    1.2.6

    License

    MIT

    Unpacked Size

    20.9 kB

    Total Files

    21

    Last publish

    Collaborators

    • mathieu-ai