Skip to content

Commit

Permalink
fix: export styled
Browse files Browse the repository at this point in the history
  • Loading branch information
wwsun committed Aug 21, 2023
1 parent 70b116c commit 3223d5f
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
"homepage": "https://github.com/wwsun/coral-system#readme",
"peerDependencies": {
"react": ">= 16.8.0",
"styled-components": "4.x || 5.x"
"styled-components": "4.x || 5.x || 6.x"
},
"dependencies": {
"@emotion/is-prop-valid": "^1.2.0",
Expand Down
2 changes: 1 addition & 1 deletion src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,5 @@ export * from './theme';
export * from './components';
export * from './provider';
export * from './forward-ref';
export { css, keyframes } from 'styled-components';
export { default as styled, css, keyframes } from 'styled-components';
export type { SystemProps, CoralProps, HTMLCoralProps } from './types';
1 change: 0 additions & 1 deletion tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@
"skipLibCheck": true,
"strict": true,
"noFallthroughCasesInSwitch": true,
"suppressImplicitAnyIndexErrors": true,
"allowSyntheticDefaultImports": true,
"strictNullChecks": false,
"allowJs": true,
Expand Down

0 comments on commit 3223d5f

Please sign in to comment.