mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2025-10-16 12:05:41 +00:00
This allows for spreading an `SxStyleProp` object inside a new object and merging in other
properties before passing to `sx`, like so:
```
sx={{ ...someSxStylePropObj, background: 'red' }}
```
I believe this simplification is now possible due to changes made to the `SystemStyleObject` type
in `@styled-system/css` since these types were initially created.
|
||
|---|---|---|
| .. | ||
| index.d.ts | ||
| package.json | ||
| theme-ui-tests.tsx | ||
| tsconfig.json | ||
| tslint.json | ||