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 11{
22 "name" : " @solved-ac/ui-react" ,
3- "version" : " 0.2.1 " ,
3+ "version" : " 0.2.2 " ,
44 "description" : " React component library used by solved.ac" ,
55 "author" : " shiftpsh" ,
66 "license" : " MIT" ,
Original file line number Diff line number Diff line change 11// eslint-disable-next-line react/no-typos
22import 'react'
33
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-
244type CustomProp = { [ key in `--${string } `] : string | undefined }
255declare module 'react' {
266 // eslint-disable-next-line @typescript-eslint/no-empty-interface
You can’t perform that action at this time.
0 commit comments