We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 57be243 commit ec285fbCopy full SHA for ec285fb
src/Col.tsx
@@ -137,7 +137,7 @@ export function useCol({
137
let order: ColOrder | undefined;
138
139
if (typeof propValue === 'object' && propValue != null) {
140
- ({ span = true, offset, order } = propValue);
+ ({ span, offset, order } = propValue);
141
} else {
142
span = propValue;
143
}
www/src/pages/migrating.mdx
@@ -58,6 +58,7 @@ Below is a _rough_ account of the breaking API changes as well as the minimal ch
58
### Col
59
60
- `ColOrder` is now maximum 5 instead of 12.
61
+- When using objects in breakpoint props, `span` is no longer `true` by default.
62
63
### Dropdown
64
- dropdown dividers use `hr` by default instead of `div`.
0 commit comments