Skip to content

Commit b636c38

Browse files
committed
Exclude default styles from <compat.native>
* Don't include web defaults of `position:static` and `boxSizing:content-box` in the transformed styles when using `<compat.native>`. Simply transform the input styles. * Don't include web defaults on `<br />`.
1 parent 2da4b64 commit b636c38

6 files changed

Lines changed: 100 additions & 101 deletions

File tree

‎packages/react-strict-dom/src/native/compat.js‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@
1010
import type { StrictProps } from '../types/StrictProps';
1111

1212
import * as React from 'react';
13+
1314
// $FlowFixMe[nonstrict-import]
1415
import { createStrictDOMComponent as createStrict } from './modules/createStrictDOMComponent';
1516
// $FlowFixMe[nonstrict-import]

0 commit comments

Comments
 (0)