-
-
Notifications
You must be signed in to change notification settings - Fork 38
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
d544207
commit f20edbe
Showing
17 changed files
with
873 additions
and
240 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
**/*.d.ts |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
module.exports = { | ||
env: { | ||
browser: true, | ||
es2021: true, | ||
}, | ||
extends: [ | ||
'plugin:react/recommended', | ||
'airbnb', | ||
'plugin:@typescript-eslint/recommended', | ||
'plugin:prettier/recommended', | ||
], | ||
parser: '@typescript-eslint/parser', | ||
parserOptions: { | ||
ecmaFeatures: { | ||
jsx: true, | ||
}, | ||
ecmaVersion: 13, | ||
sourceType: 'module', | ||
}, | ||
plugins: ['react', 'react-hooks', '@typescript-eslint', 'prettier'], | ||
rules: { | ||
'import/no-unresolved': 'error', | ||
'import/prefer-default-export': 'off', | ||
'react/jsx-filename-extension': [1, { extensions: ['.tsx'] }], | ||
'react/jsx-props-no-spreading': 'off', | ||
'react/function-component-definition': [ | ||
2, | ||
{ | ||
namedComponents: 'function-declaration', | ||
}, | ||
], | ||
'no-shadow': 'off', | ||
'@typescript-eslint/no-shadow': ['error'], | ||
}, | ||
settings: { | ||
'import/resolver': { | ||
typescript: {}, | ||
}, | ||
}, | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
{ | ||
"singleQuote": true, | ||
"editorconfig": true | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,4 +5,4 @@ declare module 'react' { | |
jsx?: boolean; | ||
global?: boolean; | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
export { theme } from '@lib/core/theme/theme'; | ||
export { Box } from '@lib/components/box/box'; | ||
export { Provider } from '@lib/components/provider/provider'; | ||
export { Text } from '@lib/components/text/text'; | ||
export { Text } from '@lib/components/text/text'; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,7 @@ | ||
import React from 'react'; | ||
|
||
interface ProviderProps { | ||
theme: any; | ||
children: any; | ||
} | ||
export const Provider = ({ theme, children }: ProviderProps) => { | ||
return ( | ||
<> | ||
{children} | ||
</> | ||
); | ||
} | ||
export function Provider({ children }: ProviderProps) { | ||
return children; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
export enum Breakpoints { | ||
xs = "Breakpoints.xs", | ||
sm = "Breakpoints.sm", | ||
md = "Breakpoints.md", | ||
lg = "Breakpoints.lg", | ||
xl = "Breakpoints.xl", | ||
} | ||
xs = 'Breakpoints.xs', | ||
sm = 'Breakpoints.sm', | ||
md = 'Breakpoints.md', | ||
lg = 'Breakpoints.lg', | ||
xl = 'Breakpoints.xl', | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -9,4 +9,4 @@ export interface StyleSheet { | |
margin?: ResponsiveProperty<number>; | ||
focus?: any; | ||
hover?: any; | ||
} | ||
} |
Oops, something went wrong.
f20edbe
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Successfully deployed to the following URLs: