Add deprecation notice notification

Summary: Add deprecation notice device icon and notification

Reviewed By: lblasa

Differential Revision: D34582475

fbshipit-source-id: 90fde15caf1925b42f50fbfc77dece88c82833cf
This commit is contained in:
Andrey Goncharov
2022-03-02 09:18:15 -08:00
committed by Facebook GitHub Bot
parent ed6e589bec
commit 5068c8273b
8 changed files with 58 additions and 8 deletions

View File

@@ -31,7 +31,7 @@ export function connectFlipperServerToStore(
logger: Logger,
) {
server.on('notification', ({type, title, description}) => {
const text = `[$type] ${title}: ${description}`;
const text = `[${type}] ${title}: ${description}`;
console.warn(text);
notification.open({
message: title,