mirror of
https://github.com/carbon-design-system/carbon-components-svelte.git
synced 2025-09-18 11:36:36 +00:00
tmp: v11 PopoverContent
This commit is contained in:
parent
9e4be999e8
commit
b4802196f0
10 changed files with 85 additions and 12 deletions
19
types/Popover/PopoverContent.svelte.d.ts
vendored
Normal file
19
types/Popover/PopoverContent.svelte.d.ts
vendored
Normal file
|
@ -0,0 +1,19 @@
|
|||
import type { SvelteComponentTyped } from "svelte";
|
||||
import type { SvelteHTMLElements } from "svelte/elements";
|
||||
|
||||
type RestProps = SvelteHTMLElements["span"];
|
||||
|
||||
export interface PopoverContentProps extends RestProps {
|
||||
/**
|
||||
* @default null
|
||||
*/
|
||||
className?: undefined;
|
||||
|
||||
[key: `data-${string}`]: any;
|
||||
}
|
||||
|
||||
export default class PopoverContent extends SvelteComponentTyped<
|
||||
PopoverContentProps,
|
||||
Record<string, any>,
|
||||
{ default: {} }
|
||||
> {}
|
Loading…
Add table
Add a link
Reference in a new issue