This commit is contained in:
2025-12-07 15:58:07 +07:00
parent 75a641ab40
commit 942aeafb60
2211 changed files with 178727 additions and 89 deletions

11
node_modules/daisyui/functions/plugin.js generated vendored Normal file
View File

@@ -0,0 +1,11 @@
export const plugin = {
withOptions: (pluginFunction, configFunction = () => ({})) => {
const optionsFunction = (options) => {
const handler = pluginFunction(options)
const config = configFunction(options)
return { handler, config }
}
optionsFunction.__isOptionsFunction = true
return optionsFunction
},
}