@esri/calcite-components
Version:
Web Components for Esri's Calcite Design System.
19 lines (18 loc) • 577 B
TypeScript
import { FunctionalComponent } from "../../stencil-public-runtime";
import { Position } from "../interfaces";
interface CalciteExpandToggleProps {
expanded: boolean;
intlExpand: string;
intlCollapse: string;
el: HTMLElement;
position: Position;
tooltip?: HTMLCalciteTooltipElement;
toggle: () => void;
ref?: (el: HTMLElement) => void;
}
export declare function toggleChildActionText({ parent, expanded }: {
parent: HTMLElement;
expanded: boolean;
}): void;
export declare const CalciteExpandToggle: FunctionalComponent<CalciteExpandToggleProps>;
export {};