Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

buildProps

function buildProps(
props: (DirectiveNode | AttributeNode)[] | undefined,
isComponent: boolean,
isDynamicComponent: boolean,
ssr?: boolean,
): {
props: PropsExpression | undefined;
directives: DirectiveNode[];
patchFlag: number;
dynamicPropNames: string[];
shouldUseBlock: boolean;
}
;
§
buildProps(node: ElementNode, context: TransformContext, props: (DirectiveNode | AttributeNode)[] | undefined, isComponent: boolean, isDynamicComponent: boolean, ssr?: boolean): {
props: PropsExpression | undefined;
directives: DirectiveNode[];
patchFlag: number;
dynamicPropNames: string[];
shouldUseBlock: boolean;
}
[src]

§Parameters

§
props: (DirectiveNode | AttributeNode)[] | undefined
[src]
§
isComponent: boolean
[src]
§
isDynamicComponent: boolean
[src]
§
ssr?: boolean optional
[src]

§Return Type

§
{
props: PropsExpression | undefined;
directives: DirectiveNode[];
patchFlag: number;
dynamicPropNames: string[];
shouldUseBlock: boolean;
}
[src]