mirror of
https://github.com/ZetaKebab/quartz.git
synced 2025-06-22 00:34:37 +00:00
add config to components
This commit is contained in:
@ -18,4 +18,4 @@ export type QuartzComponent = ComponentType<QuartzComponentProps> & {
|
||||
afterDOMLoaded?: string,
|
||||
}
|
||||
|
||||
export type QuartzComponentConstructor<Options extends object> = (opts: Options) => QuartzComponent
|
||||
export type QuartzComponentConstructor<Options extends object | undefined = undefined> = (opts: Options) => QuartzComponent
|
||||
|
Reference in New Issue
Block a user