@dfinity/gix-components
Version:
A UI kit developed by the GIX team
46 lines (45 loc) • 1.53 kB
TypeScript
/// <reference types="svelte" />
interface $$__sveltets_2_IsomorphicComponent<Props extends Record<string, any> = any, Events extends Record<string, any> = any, Slots extends Record<string, any> = any, Exports = {}, Bindings = string> {
new (options: import('svelte').ComponentConstructorOptions<Props>): import('svelte').SvelteComponent<Props, Events, Slots> & {
$$bindings?: Bindings;
} & Exports;
(internal: unknown, props: Props & {
$$events?: Events;
$$slots?: Slots;
}): Exports & {
$set?: any;
$on?: any;
};
z_$$bindings?: Bindings;
}
type $$__sveltets_2_PropsWithChildren<Props, Slots> = Props & (Slots extends {
default: any;
} ? Props extends Record<string, never> ? any : {
children?: any;
} : {});
declare const Card: $$__sveltets_2_IsomorphicComponent<$$__sveltets_2_PropsWithChildren<{
role?: "button" | "checkbox" | undefined;
ariaLabel?: string | undefined;
selected?: boolean | undefined;
disabled?: boolean | undefined;
testId?: string | undefined;
icon?: "expand" | "check" | undefined;
theme?: "transparent" | "framed" | "highlighted" | undefined;
href?: string | undefined;
noPadding?: boolean | undefined;
noMargin?: boolean | undefined;
}, {
start: {};
end: {};
default: {};
}>, {
click: CustomEvent<any>;
} & {
[evt: string]: CustomEvent<any>;
}, {
start: {};
end: {};
default: {};
}, {}, string>;
type Card = InstanceType<typeof Card>;
export default Card;