Skip to content

Commit

Permalink
fix: form-row was removed from Bootsttap 5
Browse files Browse the repository at this point in the history
  • Loading branch information
Guillermo O. Freschi authored and davidacevedo committed Mar 4, 2022
1 parent 5cfcd8d commit 601845d
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/Row.js
Expand Up @@ -11,7 +11,6 @@ const propTypes = {
noGutters: deprecated(PropTypes.bool, "Please use Bootstrap 5 gutter utility classes. https://getbootstrap.com/docs/5.0/layout/gutters/"),
className: PropTypes.string,
cssModule: PropTypes.object,
form: PropTypes.bool,
xs: rowColsPropType,
sm: rowColsPropType,
md: rowColsPropType,
Expand All @@ -31,7 +30,6 @@ const Row = (props) => {
cssModule,
noGutters,
tag: Tag,
form,
widths,
...attributes
} = props;
Expand All @@ -54,7 +52,7 @@ const Row = (props) => {
const classes = mapToCssModules(classNames(
className,
noGutters ? 'gx-0' : null,
form ? 'form-row' : 'row',
'row',
colClasses
), cssModule);

Expand Down

0 comments on commit 601845d

Please sign in to comment.