10000
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 735b5a0 commit 77b918eCopy full SHA for 77b918e
src/index.d.ts
@@ -1,4 +1,7 @@
1
-interface CIcon {
+import { HTMLProps } from 'react'
2
+type Omit<T, K extends keyof T> = Pick<T, Exclude<keyof T, K>>
3
+
4
+interface CIcon extends Omit<HTMLProps<any>, 'content' | 'size'> {
5
className?: string
6
name?: string
7
content?: string | Array<string>
@@ -9,6 +12,7 @@ interface CIcon {
9
12
use?: string
10
13
}
11
14
-export declare const CIcon: (props: CIcon) => any
15
+declare const CIcon: (props: CIcon) => any
16
-export default (props: CIcon) => any
17
+export { CIcon }
18
+export default CIcon
0 commit comments