changed btns?

This commit is contained in:
Ulysia 2024-10-14 09:08:15 +02:00
parent 045d3424ff
commit 0540dd89a0

View file

@ -5,7 +5,6 @@ import { useEffect, useState } from "preact/hooks"
// Import the JSON data // Import the JSON data
import buttonsData from "./buttons.json" import buttonsData from "./buttons.json"
export default (() => {
// Define the component // Define the component
const Btn8831: QuartzComponent = ({ displayClass, cfg }: QuartzComponentProps) => { const Btn8831: QuartzComponent = ({ displayClass, cfg }: QuartzComponentProps) => {
// Since the data is static, you can directly use buttonsData // Since the data is static, you can directly use buttonsData
@ -51,5 +50,5 @@ export default (() => {
// Combine base styles with custom styles // Combine base styles with custom styles
Btn8831.css = customStyle Btn8831.css = customStyle
return Btn8831
})() satisfies QuartzComponentConstructor export default (() => Btn8831) satisfies QuartzComponentConstructor