0.1.6 • Published 2 years ago

gamze-modal v0.1.6

Weekly downloads
-
License
-
Repository
github
Last release
2 years ago

gamze-modal

gamze-modal is a modal library, is written in React. It is a minimal library without any other dependencies, while being performant and straightforward to use, requiring developers to write fewer lines of code than other form libraries.

A library of React components created using create-react-library.

Installation

Run the following command: npm install gamze-modal

How to use

In a React app, use the modal component:

import Modal from 'gamze-modal';

You can add title, text or an image as a props.

Example :

kod

Changing CSS

You can some CSS of the modal.

Example :

<Modal title={'Success!!'} text={'New employee has been created!!!'} image={logo} show={true} backgroundColor={"beige"} buttonColor={'red'} buttonTextColor={'black'}/>

backgroundColor={} changes the backgroundColor of the modal.

buttonColor={} changes the backgroundColor of the button.

buttonTextColor={} changes the color of the text of the button. demo

0.1.4

2 years ago

0.1.6

2 years ago

0.1.5

2 years ago

0.1.3

2 years ago

0.1.2

2 years ago

0.1.1

2 years ago

0.1.0

3 years ago