Skip to content
Branch: master
Find file History
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
..
Failed to load latest commit information.
README.md feat: Material UI theme (#21) Oct 17, 2019
material-ui.scss feat: Material UI theme (#21) Oct 17, 2019
package.json chore(release): 3.0.7 [skip ci] Dec 1, 2019

README.md

@sweetalert2/theme-material-ui - Material Ui Theme for SweetAlert2

npm version

Installation

npm install --save sweetalert2 @sweetalert2/theme-material-ui

Usage

With CSS:

<!-- Include the Material Ui theme -->
<link rel="stylesheet" href="@sweetalert2/theme-material-ui/material-ui.css">

<script src="sweetalert2/dist/sweetalert2.min.js"></script>

With SASS:

your-app.js:

import Swal from 'sweetalert2/src/sweetalert2.js'

your-app.scss:

@import '~@sweetalert2/theme-material-ui/material-ui.scss';
You can’t perform that action at this time.