1.0.0 • Published 1 year ago
create-cccc v1.0.0
import CrudEl from "./CrudEl"
import SvgIcon from "./SvgIcon";
import { hooksName, useHooks } from './CrudEl/hooks'
import type { HooksConfig } from './CrudEl/hooks'
import { InitOptions } from './CrudEl/Methods'
const components = [
CrudEl,
SvgIcon
]
const install = (app: any, options?: SystemParametersType) => {
if (options) InitOptions(options)
components.forEach((component) => {
app.use(component)
})
}
export default install
export {
CrudEl,
SvgIcon,
hooksName,
useHooks,
}
export type {
HooksConfig
}