@alexandre_m/custom-modal
TypeScript icon, indicating that this package has built-in type declarations

1.1.6 • Public • Published

React Custom Modal

Downloads

A simple and reusable Modal component for REACT

Installation

The package can be installed via npm:

npm install @alexandre_m/custom-modal --save

Or via yarn:

yarn add @alexandre_m/custom-modal

dependencies:

styled-components: ^5.3.5

devDependencies

@types/react: ^17.0.14,
@types/styled-components: ^5.1.26,
css-loader: 6.7.1,
react-dom: ^17.0.2,
style-loader: 3.3.1,
typescript: ^4.3.5

Configuration

You can call the modal as a usual component

Type of props:

    Interface Props {
        text: string;
        id: string;
        success: Boolean;
        icon: string
    }

License

Copyright (c) 2022 Lych Inc. and individual contributors. Licensed under ISC license, see LICENSE for the full license.

Readme

Keywords

Package Sidebar

Install

npm i @alexandre_m/custom-modal

Weekly Downloads

2

Version

1.1.6

License

ISC

Unpacked Size

4.88 kB

Total Files

7

Last publish

Collaborators

  • alexandre_m