Files
lcbp3.np-dms.work/frontend/node_modules/styled-jsx/index.d.ts
2025-09-21 20:29:15 +07:00

25 lines
682 B
TypeScript
Executable File

/// <reference types="./css" />
/// <reference types="./macro" />
/// <reference types="./style" />
/// <reference types="./global" />
declare module 'styled-jsx' {
import type { JSX } from "react";
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
}