MCPcopy
hub / github.com/styletron/styletron / StyletronComponent

Interface StyletronComponent

packages/styletron-react/src/types.ts:69–77  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

67 Omit<AddStyletronRef<React.ComponentProps<D>>, keyof BaseProps<P>>;
68
69export interface StyletronComponent<D extends React.ElementType, P extends {}> {
70 <C extends React.ElementType = D>(
71 props: {
72 $as?: C;
73 } & OverrideProps<C, P>,
74 ): JSX.Element;
75 __STYLETRON__: any;
76 displayName?: string;
77}
78
79export type StyledFn = {
80 <T extends React.ElementType, Props extends {}>(

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected