mirror of
https://github.com/Unleash/unleash.git
synced 2025-04-10 01:16:39 +02:00
* refactor: replace react-dnd with custom implementation * refactor: add TextCell, IconCell, and ActionCell * refactor: port environments list to react-table * refactor: change OfflineBolt to PowerSettingsNew * refactor: simplify environment toast text * refactor: improve IToast type type * refactor: improve useSearchHighlightContext naming * refactor: clarify enableDragAndDrop logic
11 lines
227 B
TypeScript
11 lines
227 B
TypeScript
export interface IToast {
|
|
type: 'success' | 'error';
|
|
title: string;
|
|
text?: string;
|
|
components?: JSX.Element[];
|
|
show?: boolean;
|
|
persist?: boolean;
|
|
confetti?: boolean;
|
|
autoHideDuration?: number;
|
|
}
|