init component
This commit is contained in:
16
node_modules/buetify/lib/components/notices/toast/BToast.js
generated
vendored
Executable file
16
node_modules/buetify/lib/components/notices/toast/BToast.js
generated
vendored
Executable file
@@ -0,0 +1,16 @@
|
||||
import { UseNoticePropsDefinition } from '../../../composables/noticeController';
|
||||
import { defineComponent } from 'vue';
|
||||
import { useToast } from '../../../composables/toast';
|
||||
export default defineComponent({
|
||||
name: 'b-toast',
|
||||
props: UseNoticePropsDefinition,
|
||||
|
||||
setup(props, {
|
||||
slots
|
||||
}) {
|
||||
const controller = useToast(props, slots);
|
||||
return () => slots.default && slots.default(controller);
|
||||
}
|
||||
|
||||
});
|
||||
//# sourceMappingURL=BToast.js.map
|
||||
Reference in New Issue
Block a user