mirror of
https://github.com/hanzoai/ui.git
synced 2026-11-21 00:18:41 +00:00
Match the console pattern: createGui + gui.d.ts augmenting @hanzogui/web's GuiCustomConfig, pinned to @hanzo/gui 7.3.0 (which renamed createHanzogui → createGui). Shorthand props typecheck clean. Co-authored-by: Hanzo Dev <[email protected]>
12 lines
416 B
TypeScript
12 lines
416 B
TypeScript
/**
|
|
* Registers our Gui config with the type system so component style props
|
|
* (tokens, themes, shorthands) are typed. `GuiCustomConfig` is declared in
|
|
* `@hanzogui/web` and re-exported across the Gui packages; augmenting it there
|
|
* flows the types through every `@hanzo/gui` component.
|
|
*/
|
|
import type { Conf } from './gui.config'
|
|
|
|
declare module '@hanzogui/web' {
|
|
interface GuiCustomConfig extends Conf {}
|
|
}
|