add elements components
This commit is contained in:
23
components/elements/Icon.config.tsx
Normal file
23
components/elements/Icon.config.tsx
Normal file
@@ -0,0 +1,23 @@
|
||||
import type { ElementConfig } from "./types"
|
||||
|
||||
export const IconConfig: ElementConfig = {
|
||||
Icon: {
|
||||
label: "Icon",
|
||||
fields: {
|
||||
name: {
|
||||
type: "icon",
|
||||
label: "Icon",
|
||||
},
|
||||
size: {
|
||||
type: "text",
|
||||
label: "Size",
|
||||
},
|
||||
className: {
|
||||
type: "text",
|
||||
label: "Class Name",
|
||||
},
|
||||
},
|
||||
},
|
||||
}
|
||||
|
||||
export default IconConfig
|
||||
Reference in New Issue
Block a user