18 lines
456 B
TypeScript
18 lines
456 B
TypeScript
|
/* eslint-disable @typescript-eslint/no-explicit-any */
|
||
|
|
||
|
import { register } from 'astal';
|
||
|
import { Gtk, type ConstructProps } from 'astal/gtk4';
|
||
|
|
||
|
import astalify from './astalify';
|
||
|
|
||
|
|
||
|
export type RevealerProps = ConstructProps<
|
||
|
Revealer,
|
||
|
Gtk.Revealer.ConstructorProps & { css: string }
|
||
|
>;
|
||
|
|
||
|
@register({ GTypeName: 'Revealer' })
|
||
|
export class Revealer extends astalify(Gtk.Revealer) {
|
||
|
constructor(props?: RevealerProps) { super(props as any); }
|
||
|
}
|