import { msgTypes } from '../../app/utils/msgTypes' ; export default function figmaNotify ( type , text , time = 1500 ) { figma . notify ( `${ msgTypes [ type ] . icon } ${ text }` , { timeout : time , } ) ; }