UNPKG
strapi-plugin-icons-field
Version:
latest (1.2.5)
1.2.5
1.2.4
1.2.3
1.2.2
1.2.1
1.2.0
1.1.7
1.1.6
1.1.5
1.1.4
1.1.3
1.1.2
1.1.1
1.1.0
0.1.3
0.1.2
0.1.1
0.1.0
A customizable plugin for Strapi to integrate an icon field into your content types.
strapi-plugin-icons-field
/
dist
/
admin
/
src
/
components
/
Icon.d.ts
7 lines
(6 loc)
•
286 B
TypeScript
View Raw
1
2
3
4
5
6
7
import
React
, {
HTMLAttributes
}
from
'react'
;
interface
RenderSvgProps
extends
HTMLAttributes
<
SVGElement
> {
icon
?:
string
; }
export
default
function
Icon
(
{ icon, ...props }:
RenderSvgProps
):
React
.
ReactElement
<
unknown
,
string
|
React
.
JSXElementConstructor
<
any
>> |
null
;
export
{};