Skip to main content

FunctionalComponent <P>

Represents a functional component.

@example
const MyComponent: FunctionalComponent<{
name: MaybeSignal<string>;
}> = ({ name }) => {
return <h1>Hello, {name}!</h1>;
};

Callable