mirror of
https://github.com/carbon-design-system/carbon-components-svelte.git
synced 2025-09-15 02:11:05 +00:00
fix(link): change href description and default value
This commit is contained in:
parent
df2d63d6eb
commit
115f032317
3 changed files with 5 additions and 4 deletions
|
@ -2179,6 +2179,7 @@ import { Link } from "carbon-components-svelte";
|
|||
|
||||
| Prop name | Type | Default value |
|
||||
| :-------- | :--------------------------------------------------------------------- | :------------ |
|
||||
| href | <code>string</code> | -- |
|
||||
| inline | <code>boolean</code> | false |
|
||||
| disabled | <code>boolean</code> | false |
|
||||
| visited | <code>boolean</code> | false |
|
||||
|
|
|
@ -1,9 +1,9 @@
|
|||
<script>
|
||||
/**
|
||||
* Specify href value
|
||||
* Specify the href value
|
||||
* @type {string} [href]
|
||||
*/
|
||||
export let href;
|
||||
export let href = undefined;
|
||||
|
||||
/**
|
||||
* Set to `true` to use the inline variant
|
||||
|
|
4
types/index.d.ts
vendored
4
types/index.d.ts
vendored
|
@ -1885,9 +1885,9 @@ export class InlineNotification extends CarbonSvelteComponent {
|
|||
export class Link extends CarbonSvelteComponent {
|
||||
$$prop_def: {
|
||||
/**
|
||||
* Specify href value
|
||||
* Specify the href value
|
||||
*/
|
||||
href: string;
|
||||
href?: string;
|
||||
|
||||
/**
|
||||
* Set to `true` to use the inline variant
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue