flicker-alerts 1.0.26 → 1.0.27
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +2 -2
- package/readme.md +4 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "flicker-alerts",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.27",
|
|
4
4
|
"description": "Biblioteca para alertas animados",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"types": "index.d.ts",
|
|
@@ -16,6 +16,6 @@
|
|
|
16
16
|
"author": "https://www.linkedin.com/in/bruno-carneiro-9a51aa190/",
|
|
17
17
|
"license": "MIT",
|
|
18
18
|
"dependencies": {
|
|
19
|
-
"flicker-alerts": "^1.0.
|
|
19
|
+
"flicker-alerts": "^1.0.27"
|
|
20
20
|
}
|
|
21
21
|
}
|
package/readme.md
CHANGED
|
@@ -105,6 +105,7 @@ const showSucessAlert = () => {
|
|
|
105
105
|
title: 'Sucesso',
|
|
106
106
|
message: 'Operação concluída com sucesso!',
|
|
107
107
|
position: 'top-right'
|
|
108
|
+
// Em 'position', você pode escolher entre: 'top-right', 'top-left', 'bottom-right', 'bottom-left', 'center', 'top-center' ou 'bottom-center';
|
|
108
109
|
});
|
|
109
110
|
};
|
|
110
111
|
|
|
@@ -115,6 +116,7 @@ const showInfoAlert = () => {
|
|
|
115
116
|
title: 'Informação',
|
|
116
117
|
message: 'Aqui está uma informação importante.',
|
|
117
118
|
position: 'top-right'
|
|
119
|
+
// Em 'position', você pode escolher entre: 'top-right', 'top-left', 'bottom-right', 'bottom-left', 'center', 'top-center' ou 'bottom-center';
|
|
118
120
|
});
|
|
119
121
|
};
|
|
120
122
|
|
|
@@ -124,6 +126,7 @@ const showInfoAlert = () => {
|
|
|
124
126
|
title: 'Alerta',
|
|
125
127
|
message: 'Por favor, preste atenção nisso!',
|
|
126
128
|
position: 'top-right'
|
|
129
|
+
// Em 'position', você pode escolher entre: 'top-right', 'top-left', 'bottom-right', 'bottom-left', 'center', 'top-center' ou 'bottom-center';
|
|
127
130
|
});
|
|
128
131
|
};
|
|
129
132
|
|
|
@@ -133,6 +136,7 @@ const showInfoAlert = () => {
|
|
|
133
136
|
title: 'Erro',
|
|
134
137
|
message: 'Ocorreu um erro inesperado!',
|
|
135
138
|
position: 'top-right'
|
|
139
|
+
// Em 'position', você pode escolher entre: 'top-right', 'top-left', 'bottom-right', 'bottom-left', 'center', 'top-center' ou 'bottom-center';
|
|
136
140
|
});
|
|
137
141
|
};
|
|
138
142
|
|