Skip to content

Commit da269f6

Browse files
committed
use Gtk.Box instead of Astal.Box
1 parent 0674b28 commit da269f6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/src/gtk4/jsx-runtime.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ import { CCProps } from "../../gjsx/src/jsx/index.js"
55
import { intrinsicElements } from "../../gjsx/src/gtk4/jsx-runtime.js"
66

77
Object.assign(intrinsicElements, {
8-
box: Astal.Box,
8+
box: Gtk.Box,
99
button: Gtk.Button,
1010
centerbox: Gtk.CenterBox,
1111
// circularprogress: Astal.CircularProgress,
@@ -29,7 +29,7 @@ Object.assign(intrinsicElements, {
2929
declare global {
3030
namespace JSX {
3131
interface IntrinsicElements {
32-
box: CCProps<Astal.Box, Omit<Astal.Box.ConstructorProps, "children">>
32+
box: CCProps<Gtk.Box, Gtk.Box.ConstructorProps>
3333
button: CCProps<Gtk.Button, Gtk.Button.ConstructorProps>
3434
centerbox: CCProps<Gtk.CenterBox, Gtk.CenterBox.ConstructorProps>
3535
// circularprogress: CCProps<Astal.CircularProgress, Astal.CircularProgress.ConstructorProps>

0 commit comments

Comments
 (0)