mirror of
https://github.com/carbon-design-system/carbon-components-svelte.git
synced 2025-09-18 19:46:36 +00:00
feat(link): add OutboundLink
This commit is contained in:
parent
3e926de49d
commit
422e991b71
8 changed files with 64 additions and 7 deletions
13
types/Link/OutboundLink.d.ts
vendored
Normal file
13
types/Link/OutboundLink.d.ts
vendored
Normal file
|
@ -0,0 +1,13 @@
|
|||
/// <reference types="svelte" />
|
||||
import { LinkProps } from "./Link";
|
||||
|
||||
export interface OutboundLinkProps extends LinkProps {}
|
||||
|
||||
export default class OutboundLink {
|
||||
$$prop_def: OutboundLinkProps;
|
||||
$$slot_def: {
|
||||
default: {};
|
||||
};
|
||||
|
||||
$on(eventname: string, cb: (event: Event) => void): () => void;
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue