mirror of
https://github.com/carbon-design-system/carbon-components-svelte.git
synced 2025-09-19 11:59:34 +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: {} }
|
||||
> {}
|
1
types/index.d.ts
vendored
1
types/index.d.ts
vendored
|
@ -91,6 +91,7 @@ export { default as Pagination } from "./Pagination/Pagination.svelte";
|
|||
export { default as PaginationSkeleton } from "./Pagination/PaginationSkeleton.svelte";
|
||||
export { default as PaginationNav } from "./PaginationNav/PaginationNav.svelte";
|
||||
export { default as Popover } from "./Popover/Popover.svelte";
|
||||
export { default as PopoverContent } from "./Popover/PopoverContent.svelte";
|
||||
export { default as ProgressBar } from "./ProgressBar/ProgressBar.svelte";
|
||||
export { default as ProgressIndicator } from "./ProgressIndicator/ProgressIndicator.svelte";
|
||||
export { default as ProgressIndicatorSkeleton } from "./ProgressIndicator/ProgressIndicatorSkeleton.svelte";
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue