import 'admin-lte/plugins/bootstrap-switch/js/bootstrap-switch.min';

export default () => {
    $('.toggler').each(function () {
        let toggler = $(this);
        toggler.bootstrapSwitch({
            labelWidth: 10,
            onColor: 'success',
        });
        toggler.bootstrapSwitch('state', toggler.prop('checked'));
    });
};
