File tree Expand file tree Collapse file tree 2 files changed +1
-21
lines changed Expand file tree Collapse file tree 2 files changed +1
-21
lines changed Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " @solved-ac/ui-react" ,
3
- "version" : " 0.2.1 " ,
3
+ "version" : " 0.2.2 " ,
4
4
"description" : " React component library used by solved.ac" ,
5
5
"author" : " shiftpsh" ,
6
6
"license" : " MIT" ,
Original file line number Diff line number Diff line change 1
1
// eslint-disable-next-line react/no-typos
2
2
import 'react'
3
3
4
- /**
5
- * Default CSS definition for typescript,
6
- * will be overridden with file-specific definitions by rollup
7
- */
8
- declare module '*.css' {
9
- const content : { [ className : string ] : string }
10
- export default content
11
- }
12
-
13
- // eslint-disable-next-line @typescript-eslint/no-empty-interface
14
- interface SvgrComponent
15
- extends React . FunctionComponent < React . SVGAttributes < SVGElement > > { }
16
-
17
- declare module '*.svg' {
18
- const svgUrl : string
19
- const svgComponent : SvgrComponent
20
- export default svgUrl
21
- export { svgComponent as ReactComponent }
22
- }
23
-
24
4
type CustomProp = { [ key in `--${string } `] : string | undefined }
25
5
declare module 'react' {
26
6
// eslint-disable-next-line @typescript-eslint/no-empty-interface
You can’t perform that action at this time.
0 commit comments