mirror of
https://github.com/carbon-design-system/carbon-components-svelte.git
synced 2025-09-18 19:46:36 +00:00
feat(link): support link with icon
This commit is contained in:
parent
40c07456b4
commit
7e108acead
5 changed files with 48 additions and 10 deletions
6
types/Link/Link.d.ts
vendored
6
types/Link/Link.d.ts
vendored
|
@ -19,6 +19,12 @@ export interface LinkProps
|
|||
*/
|
||||
inline?: boolean;
|
||||
|
||||
/**
|
||||
* Specify the icon from `carbon-icons-svelte` to render
|
||||
* `inline` must be `false`
|
||||
*/
|
||||
icon?: typeof import("carbon-icons-svelte").CarbonIcon;
|
||||
|
||||
/**
|
||||
* Set to `true` to disable the checkbox
|
||||
* @default false
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue