1.1.0 • Published 13 days ago

@ifrc-go/ui v1.1.0

Weekly downloads
-
License
MIT
Repository
-
Last release
13 days ago

IFRC GO UI

npm (scoped) npm (scoped) Build

IFRC GO UI is a React components library for the IFRC GO platform and its associated initiatives.

Built with

React Vite Typescript

Installation

Install the @ifrc-go/ui package and its peer dependencies.

# using yarn
yarn add @ifrc-go/ui
# using npm
npm install @ifrc-go/ui

Usage

import { Button } from '@ifrc-go/ui';

function Example() {
    const handleButtonClick = () => {
        console.warn('button clicked');
    };

    return (
        <Button
            name="button"
            onClick={handleButtonClick}
            variant="tertiary"
        >
            Button
        </Button>
    );
}

Changelog

The changelog file summarizes the changes made to the library across different releases. The changelog is regularly updated to reflect what's changed in each new release.

Contributing

See contribution guide →

License

MIT