Documentation / zerotal / view / FC
Type Alias: FC<P>
FC<
P> = (props) =>SafeHtml
Defined in: packages/core/src/view/jsx-runtime.ts:93
Function-component type: a function taking typed props (plus optional
children) and returning SafeHtml. Use it to annotate view
components authored outside of .tsx files.
Type Parameters
P
P extends Record<string, unknown> = Record<string, never>
The component's own prop shape.
Parameters
props
P & object