changed btns?
This commit is contained in:
parent
045d3424ff
commit
0540dd89a0
|
@ -5,7 +5,6 @@ import { useEffect, useState } from "preact/hooks"
|
|||
// Import the JSON data
|
||||
import buttonsData from "./buttons.json"
|
||||
|
||||
export default (() => {
|
||||
// Define the component
|
||||
const Btn8831: QuartzComponent = ({ displayClass, cfg }: QuartzComponentProps) => {
|
||||
// Since the data is static, you can directly use buttonsData
|
||||
|
@ -51,5 +50,5 @@ export default (() => {
|
|||
// Combine base styles with custom styles
|
||||
Btn8831.css = customStyle
|
||||
|
||||
return Btn8831
|
||||
})() satisfies QuartzComponentConstructor
|
||||
|
||||
export default (() => Btn8831) satisfies QuartzComponentConstructor
|
||||
|
|
Loading…
Reference in a new issue