@j2-health/design-system 0.5.4 → 0.5.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/src/index.d.ts +0 -13
- package/package.json +1 -1
package/dist/src/index.d.ts
CHANGED
|
@@ -1,14 +1 @@
|
|
|
1
1
|
type Expand<T> = T extends infer O ? { [K in keyof O]: O[K] } : never
|
|
2
|
-
declare module '*.svg' {
|
|
3
|
-
import * as React from 'react'
|
|
4
|
-
export const ReactComponent: React.FunctionComponent<
|
|
5
|
-
React.SVGProps<SVGSVGElement>
|
|
6
|
-
>
|
|
7
|
-
|
|
8
|
-
// vite-plugin-svgr is configured in vite.config.ts and vitest.config.ts to
|
|
9
|
-
// match every '*.svg' import and return the component as the default export.
|
|
10
|
-
// This was previously typed as `string`, which forced callers to suppress a
|
|
11
|
-
// type error at every use site.
|
|
12
|
-
// eslint-disable-next-line no-restricted-exports
|
|
13
|
-
export default ReactComponent
|
|
14
|
-
}
|