mirror of
https://github.com/apache/superset.git
synced 2026-04-14 13:44:46 +00:00
refactor: typing for explore Control and messageToasts (#11416)
This commit is contained in:
@@ -16,9 +16,9 @@
|
||||
* specific language governing permissions and limitations
|
||||
* under the License.
|
||||
*/
|
||||
import { INFO_TOAST, DANGER_TOAST } from 'src/messageToasts/constants';
|
||||
import { ToastType } from 'src/messageToasts/constants';
|
||||
|
||||
export default [
|
||||
{ id: 'info_id', toastType: INFO_TOAST, text: 'info toast' },
|
||||
{ id: 'danger_id', toastType: DANGER_TOAST, text: 'danger toast' },
|
||||
{ id: 'info_id', toastType: ToastType.INFO, text: 'info toast' },
|
||||
{ id: 'danger_id', toastType: ToastType.DANGER, text: 'danger toast' },
|
||||
];
|
||||
|
||||
Reference in New Issue
Block a user