Zoom Video SDK for React - v0.0.2
    Preparing search index...

    Type Alias FC<P>

    Represents the type of a function component. Can optionally receive a type argument that represents the props the component receives.

    Type Parameters

    • P = {}

      The props the component accepts.

    // With props:
    type Props = { name: string }

    const MyComponent: FC<Props> = (props) => {
    return <div>{props.name}</div>
    }
    // Without props:
    const MyComponentWithoutProps: FC = () => {
    return <div>MyComponentWithoutProps</div>
    }