bpms_site/.svn/pristine/8f/8fe3d08ac7f307ec8e026b224e4f95853d2eeb85.svn-base
2025-11-02 16:38:49 +03:30

18 lines
509 B
Plaintext

declare module 'styled-jsx' {
export type StyledJsxStyleRegistry = {
styles(options?: { nonce?: string }): JSX.Element[]
flush(): void
add(props: any): void
remove(props: any): void
}
export function useStyleRegistry(): StyledJsxStyleRegistry
export function StyleRegistry({
children,
registry
}: {
children: JSX.Element | import('react').ReactNode
registry?: StyledJsxStyleRegistry
}): JSX.Element
export function createStyleRegistry(): StyledJsxStyleRegistry
}