generated from Klectr/KTemplate
fix broken code
This commit is contained in:
parent
3d61f28aa0
commit
cd44e6f570
@ -3,7 +3,6 @@ import { TextSignal, focusedItem } from "../signals"
|
||||
import { useDebounce } from "../utils/useDebounce"
|
||||
import texts, { TextCardType } from "../signals/texts"
|
||||
import { LayerEnum } from "../utils/enums"
|
||||
import { isTheme } from "../utils/isTheme"
|
||||
|
||||
namespace TextItem {
|
||||
export interface TextCardProps {
|
||||
@ -13,7 +12,6 @@ namespace TextItem {
|
||||
}
|
||||
|
||||
export function TextItem({ key: itemKey, data: item }: TextItem.TextCardProps) {
|
||||
const saved = signal(true)
|
||||
const pressed = signal(false)
|
||||
const newX = useRef(0)
|
||||
const newY = useRef(0)
|
||||
|
@ -42,22 +42,5 @@ export function TextButton() {
|
||||
<path d="M8 12h8" />
|
||||
</svg>
|
||||
</Tooltip>
|
||||
<svg
|
||||
onclick={_handleClick}
|
||||
xmlns="http://www.w3.org/2000/svg"
|
||||
width="24"
|
||||
height="24"
|
||||
viewBox="0 0 24 24"
|
||||
fill="none"
|
||||
stroke="currentColor"
|
||||
stroke-width="2"
|
||||
stroke-linecap="round"
|
||||
stroke-linejoin="round"
|
||||
className={defaultClassName}
|
||||
>
|
||||
<path d="M4 20h16" />
|
||||
<path d="m6 16 6-12 6 12" />
|
||||
<path d="M8 12h8" />
|
||||
</svg>
|
||||
)
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user