1.3.0 • Published 2 years ago

modale-react-sa v1.3.0

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

Modale-react-sa

Modale-react-sa is a small module use to make modal windows

In order to use this module, you need to create a JSON array with your parameters, if none this params will be used.

DEFAULT_PARAMS

const DEFAULT_PARAMS = {
  title: '',
  custom_class: '',
  movable: true,
  width: '500px',

  close_button: {
    active: false,
    title: 'X',
    callback: () => {},
  },
  save_button: {
    active: false,
    title: 'Save',
    callback: () => {},
  },
  cancel_button: {
    active: false,
    title: 'Cancel',
    callback: () => {},
  },
};

To load the module

import {Modale} from "modale-react-sa"
import 'modale-react-sa/dist/modale.css'; //optional css
1.3.0

2 years ago

1.2.18

2 years ago

1.2.17

2 years ago

1.2.16

2 years ago

1.2.15

2 years ago

1.2.14

2 years ago

1.2.13

2 years ago

1.2.12

2 years ago

1.2.11

2 years ago

1.2.10

2 years ago

1.2.9

2 years ago

1.2.8

2 years ago

1.2.7

2 years ago

1.2.6

2 years ago

1.2.5

2 years ago

1.2.4

2 years ago

1.2.3

2 years ago

1.2.2

2 years ago

1.2.1

2 years ago

1.2.0

2 years ago

1.1.9

2 years ago

1.1.8

2 years ago

1.1.7

2 years ago

1.1.6

2 years ago

1.1.5

2 years ago

1.1.4

2 years ago

1.1.3

2 years ago

1.1.2

2 years ago

1.1.1

2 years ago

1.1.0

2 years ago

1.0.8

2 years ago

1.0.7

2 years ago

1.0.6

2 years ago

1.0.5

2 years ago

1.0.4

2 years ago

1.0.3

2 years ago

1.0.2

2 years ago

1.0.1

2 years ago

1.0.0

2 years ago