1 |
|
2 |
|
3 |
|
4 |
|
5 |
|
6 | declare module 'styled-jsx' {
|
7 | import type { JSX } from "react";
|
8 |
|
9 | export type StyledJsxStyleRegistry = {
|
10 | styles(options?: { nonce?: string }): JSX.Element[]
|
11 | flush(): void
|
12 | add(props: any): void
|
13 | remove(props: any): void
|
14 | }
|
15 | export function useStyleRegistry(): StyledJsxStyleRegistry
|
16 | export function StyleRegistry({
|
17 | children,
|
18 | registry
|
19 | }: {
|
20 | children: JSX.Element | import('react').ReactNode
|
21 | registry?: StyledJsxStyleRegistry
|
22 | }): JSX.Element
|
23 | export function createStyleRegistry(): StyledJsxStyleRegistry
|
24 | }
|
25 |
|
\ | No newline at end of file |