MCPcopy
hub / github.com/riot/riot / PureComponentFactoryFunction

Interface PureComponentFactoryFunction

riot.d.ts:113–126  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

111}
112
113export interface PureComponentFactoryFunction<
114 InitialProps extends DefaultProps = DefaultProps,
115 Context = any,
116> {
117 ({
118 slots,
119 attributes,
120 props,
121 }: {
122 slots?: TagSlotData<Context>[]
123 attributes?: AttributeExpressionData<Context>[]
124 props?: InitialProps
125 }): RiotPureComponent<Context>
126}
127
128// This object represents the Output of the Riot compiler
129export interface RiotComponentWrapper<Component> {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…