feat: make renderIcon/icon prop consistent

This commit is contained in:
Eric Liu 2021-01-27 13:54:23 -08:00
commit 6efc398f38
13 changed files with 67 additions and 67 deletions

View file

@ -5621,7 +5621,7 @@
"reactive": false
},
{
"name": "renderIcon",
"name": "icon",
"kind": "let",
"description": "Specify the icon from `carbon-icons-svelte` to render",
"type": "typeof import(\"carbon-icons-svelte\").CarbonIcon",
@ -9828,8 +9828,8 @@
{
"name": "icon",
"kind": "let",
"description": "Specify the icon props",
"type": "{ render: import(\"carbon-icons-svelte\").CarbonIcon; skeleton: boolean; }",
"description": "Specify the icon from `carbon-icons-svelte` to render",
"type": "typeof import(\"carbon-icons-svelte\").CarbonIcon",
"isFunction": false,
"constant": false,
"reactive": false
@ -9912,8 +9912,8 @@
{
"name": "icon",
"kind": "let",
"description": "Specify the icon props",
"type": "{ render: import(\"carbon-icons-svelte\").CarbonIcon; skeleton: boolean; }",
"description": "Specify the icon from `carbon-icons-svelte` to render",
"type": "typeof import(\"carbon-icons-svelte\").CarbonIcon",
"isFunction": false,
"constant": false,
"reactive": false
@ -10230,8 +10230,8 @@
{
"name": "icon",
"kind": "let",
"description": "Specify the icon props",
"type": "{ render: import(\"carbon-icons-svelte\").CarbonIcon; skeleton: boolean; }",
"description": "Specify the icon from `carbon-icons-svelte` to render",
"type": "typeof import(\"carbon-icons-svelte\").CarbonIcon",
"isFunction": false,
"constant": false,
"reactive": false
@ -10278,8 +10278,8 @@
{
"name": "icon",
"kind": "let",
"description": "Specify the icon props",
"type": "{ render: import(\"carbon-icons-svelte\").CarbonIcon; skeleton: boolean; }",
"description": "Specify the icon from `carbon-icons-svelte` to render",
"type": "typeof import(\"carbon-icons-svelte\").CarbonIcon",
"isFunction": false,
"constant": false,
"reactive": false

View file

@ -182,7 +182,7 @@
<HeaderUtilities>
<HeaderActionLink
icon="{{ render: LogoGithub20 }}"
icon="{LogoGithub20}"
href="https://github.com/IBM/carbon-components-svelte"
target="_blank"
/>