110b00bc01
* chore: add translation * fix(Data-template): fix bug when deleting fields --------- Co-authored-by: chenos <chenlinxh@gmail.com>
9 lines
169 B
TypeScript
9 lines
169 B
TypeScript
import { notification } from 'antd';
|
|
|
|
export const showToast = (message, type = 'info', duration = 5000) => {
|
|
notification[type]({
|
|
message,
|
|
duration,
|
|
});
|
|
};
|