-
Notifications
You must be signed in to change notification settings - Fork 23
feat: support React 19 #1074
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
feat: support React 19 #1074
Changes from all commits
0236698
b311778
0a43ff6
e01c8cf
e51708e
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,5 +1,6 @@ | ||
| lint-staged.config.js | ||
| jest.config.js | ||
| jest.config.react18.js | ||
| babel.config.js | ||
| plopfile.mjs | ||
| release.config.js | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,13 @@ | ||
| const baseConfig = require('./jest.config') | ||
|
|
||
| // Runs the Jest suite against React 18 by remapping react/react-dom to the aliased 18 packages. | ||
| module.exports = { | ||
| ...baseConfig, | ||
| moduleNameMapper: { | ||
| ...baseConfig.moduleNameMapper, | ||
| '^react$': 'react-18', | ||
| '^react/(.*)$': 'react-18/$1', | ||
| '^react-dom$': 'react-dom-18', | ||
| '^react-dom/(.*)$': 'react-dom-18/$1', | ||
| }, | ||
| } |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,7 +1,5 @@ | ||
| import * as React from 'react' | ||
|
|
||
| import PropTypes from 'prop-types' | ||
|
|
||
| const ThreeDotsIcon = ({ color = '#A5A5A5' }) => ( | ||
| <svg width="26px" height="26px" viewBox="0 0 26 26"> | ||
| <g stroke="none" strokeWidth="1" fill="none" fillRule="evenodd"> | ||
|
|
@@ -11,9 +9,5 @@ const ThreeDotsIcon = ({ color = '#A5A5A5' }) => ( | |
| </g> | ||
| </svg> | ||
| ) | ||
| ThreeDotsIcon.propTypes = { | ||
|
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 🟡 P2 Removing |
||
| /** Color of the icon. */ | ||
| color: PropTypes.string, | ||
| } | ||
|
|
||
| export default ThreeDotsIcon | ||
Uh oh!
There was an error while loading. Please reload this page.