react-grid-system
react-grid-system copied to clipboard
Question: Different number of columns depending on screen size
Is it possible to have different number of columns, depending on the screen size. From what i can see in the Typescript types, you can only supply a single number to gridColumns
type Configuration = {
breakpoints?: Array<number>,
containerWidths?: Array<number>,
gutterWidth?: number,
gridColumns?: number,
defaultScreenClass?: ScreenClass,
maxScreenClass?: ScreenClass
}
Is there any way to do this?