skz-ui
TypeScript icon, indicating that this package has built-in type declarations

0.2.0 • Public • Published

Skz UI

NPM version Build npm-typescript License

A React component library with some cool features !

Installation:

npm install skz-ui

or

yarn add skz-ui

Usage :

Add Modal to your component:

import React, { useState } from 'react';
import { Modal } from 'skz-ui';

const App = () => {
    const [openModal, setOpenModal] = useState(false);

    return (
        <div className="App">
            <button onClick={() => setOpenModal(true)}>
                Open modal
            </button>
            <Modal 
                open={openModal}
                onClose={() => setOpenModal(false)}
                body={
                    <p>Hello world !</p>
                }
            />
        </div>
    );
}

Readme

Keywords

Package Sidebar

Install

npm i skz-ui

Weekly Downloads

7

Version

0.2.0

License

MIT

Unpacked Size

95.7 kB

Total Files

177

Last publish

Collaborators

  • sebastien-gervilla