Skip to content

Commit

Permalink
Merge pull request #472 from namakshenas/add-type-simplegrid
Browse files Browse the repository at this point in the history
Add type prop to SimpleGrid
  • Loading branch information
AnnMarieW authored Jan 10, 2025
2 parents 83a1cc1 + 3d0afff commit 49b88c3
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@

### Added
- Added `disabled` prop for individual options on a `SegmentedControl` #451 by @petefine
- Added `type` prop for `SimpleGrid` #472 by @namakshenas

### Fixed
- Styled the figure buttons in the "mantine_light" and "mantine_dark" Plotly figure templates. #456 by @AnnMarieW
Expand Down
2 changes: 2 additions & 0 deletions src/ts/components/core/SimpleGrid.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,8 @@ interface Props extends BoxProps, StylesApiProps, DashBaseProps {
spacing?: StyleProp<MantineSpacing>;
/** Spacing between rows, `'md'` by default */
verticalSpacing?: StyleProp<MantineSpacing>;
/** Determines typeof of queries that are used for responsive styles, 'media' by default */
type?: "media" | "container";
}

/** SimpleGrid */
Expand Down

0 comments on commit 49b88c3

Please sign in to comment.