Props for the AutoScreenSize component.

interface AutoScreenSizeProps {
    components: {
        Component: ComponentType<unknown>;
        cutoff: number;
        name: string;
    }[];
}

Properties

Properties

components: {
    Component: ComponentType<unknown>;
    cutoff: number;
    name: string;
}[]

Type declaration

  • Component: ComponentType<unknown>

    The component to render at this size

  • cutoff: number

    The cutoff point for the size in px.

  • name: string

    The name of the component (for internal differentiation).

Generated using TypeDoc