Skip to content

an90dr/react-components

Repository files navigation

✔React components created for public use for free✔

✨ Features

✅📦 Modal Component
✅📦 Button Component
💬 Working to add more components 👨🏻‍💻 👨🏻‍💻 ◽◽◽

🤘 How to Use

Install to your project from NPM:

npm install react-components-free

Import to your React Component:

import {Modal} from 'react-components-free';

Use inside your React Component:

  render() {
    return (
        <Modal
            title='Modal Title'
            footer={<div><button>OK</button><button>Cancel</button></div>}
            headerSeparator={true}
            footerSeparator={true}
            visibility={true}>
            <div>Modal Children Components </div>
        </Modal>
    );
  }