mirror of
https://github.com/carbon-design-system/carbon-components-svelte.git
synced 2025-09-18 11:36:36 +00:00
feat(tooltip): support align prop from carbon-components v10.25
This commit is contained in:
parent
1559d0f9d6
commit
5719eba723
11 changed files with 71 additions and 27 deletions
|
@ -3,7 +3,7 @@ import { DataTableHeader } from "../DataTable/DataTable";
|
|||
|
||||
export interface DataTableSkeletonProps
|
||||
extends DataTableHeader,
|
||||
svelte.JSX.HTMLAttributes<HTMLElementTagNameMap["table"]> {
|
||||
svelte.JSX.HTMLAttributes<HTMLElementTagNameMap["div"]> {
|
||||
/**
|
||||
* Specify the number of columns
|
||||
* Superseded by `headers` if `headers` is a non-empty array
|
||||
|
|
6
types/Tooltip/Tooltip.d.ts
vendored
6
types/Tooltip/Tooltip.d.ts
vendored
|
@ -1,6 +1,12 @@
|
|||
/// <reference types="svelte" />
|
||||
|
||||
export interface TooltipProps extends svelte.JSX.HTMLAttributes<HTMLElementTagNameMap["div"]> {
|
||||
/**
|
||||
* Set the alignment of the tooltip relative to the icon
|
||||
* @default "center"
|
||||
*/
|
||||
align?: "start" | "center" | "end";
|
||||
|
||||
/**
|
||||
* Set the direction of the tooltip relative to the button
|
||||
* @default "bottom"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue