Skip to content

Commit

Permalink
0.0.1
Browse files Browse the repository at this point in the history
  • Loading branch information
Yoieh committed Nov 23, 2021
1 parent 4492b95 commit a17da9c
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 7 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@yoieh/use-signal",
"version": "0.0.0",
"version": "0.0.1",
"description": "Made with create-react-library",
"author": "yoieh",
"license": "MIT",
Expand Down
13 changes: 7 additions & 6 deletions src/typings.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,15 +3,16 @@
* will be overridden with file-specific definitions by rollup
*/
declare module '*.css' {
const content: { [className: string]: string };
export default content;
const content: { [className: string]: string }
export default content
}

interface SvgrComponent extends React.StatelessComponent<React.SVGAttributes<SVGElement>> {}
interface SvgrComponent
extends React.StatelessComponent<React.SVGAttributes<SVGElement>> {}

declare module '*.svg' {
const svgUrl: string;
const svgComponent: SvgrComponent;
export default svgUrl;
const svgUrl: string
const svgComponent: SvgrComponent
export default svgUrl
export { svgComponent as ReactComponent }
}

0 comments on commit a17da9c

Please sign in to comment.