1.3.0 • Published 1 year ago

modale-react-sa v1.3.0

Weekly downloads
-
License
ISC
Repository
github
Last release
1 year 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

1 year ago

1.2.18

1 year ago

1.2.17

1 year ago

1.2.16

1 year ago

1.2.15

1 year ago

1.2.14

1 year ago

1.2.13

1 year ago

1.2.12

1 year ago

1.2.11

1 year ago

1.2.10

1 year ago

1.2.9

1 year ago

1.2.8

1 year ago

1.2.7

1 year ago

1.2.6

1 year ago

1.2.5

1 year ago

1.2.4

1 year ago

1.2.3

1 year ago

1.2.2

1 year ago

1.2.1

1 year ago

1.2.0

1 year ago

1.1.9

1 year ago

1.1.8

1 year ago

1.1.7

1 year ago

1.1.6

1 year ago

1.1.5

1 year ago

1.1.4

1 year ago

1.1.3

1 year ago

1.1.2

1 year ago

1.1.1

1 year ago

1.1.0

1 year ago

1.0.8

1 year ago

1.0.7

1 year ago

1.0.6

1 year ago

1.0.5

1 year ago

1.0.4

1 year ago

1.0.3

1 year ago

1.0.2

1 year ago

1.0.1

1 year ago

1.0.0

1 year ago