feat: 更新自定义切换组件,添加 TypeScript 支持并调整属性定义
All checks were successful
/ test (push) Successful in 13s
/ surge (push) Successful in 41s

This commit is contained in:
严浩
2024-11-21 14:06:40 +08:00
parent 3d3d9f0a7f
commit 9161a5aaa3
2 changed files with 23 additions and 9 deletions

View File

@ -15,7 +15,6 @@ import FormKitToggle from "./src/headlessui-switch.vue";
const library = createLibraryPlugin({
text, form, submit, group, checkbox, range, list, number, textarea,
mytoggle: createInput(FormKitToggle)
})
const validation = createValidationPlugin(defaultRules)