Skip to main content
Version: Next

CustomHomepageGridProps

Home > @backstage/plugin-home > CustomHomepageGridProps

Props customizing the component.

Signature:

export type CustomHomepageGridProps = {
children?: ReactNode;
config?: LayoutConfiguration[];
rowHeight?: number;
breakpoints?: Record<Breakpoint, number>;
cols?: Record<Breakpoint, number>;
containerPadding?: [number, number] | Record<Breakpoint, [number, number]>;
containerMargin?: [number, number] | Record<Breakpoint, [number, number]>;
maxRows?: number;
style?: React.CSSProperties;
compactType?: 'vertical' | 'horizontal' | null;
allowOverlap?: boolean;
preventCollision?: boolean;
};

References: LayoutConfiguration, Breakpoint