UNPKG

@ebay/ebayui-core

Version:

Collection of core eBay components; considered to be the building blocks for all composite structures, pages & apps.

23 lines (22 loc) 747 B
import type { WithNormalizedProps } from "../../global"; export interface DetailsInput extends Omit<Marko.Input<"details">, `on${string}`> { summary?: Marko.AttrTag<Marko.Input<"span">>; leading?: Marko.AttrTag<Marko.Input<"span">>; size?: "regular" | "small"; alignment?: "regular" | "center"; as?: keyof Marko.NativeTags; "on-toggle"?: (event: { originalEvent: Event; open: boolean; }) => void; "on-click"?: (event: { originalEvent: MouseEvent; }) => void; } export interface Input extends WithNormalizedProps<DetailsInput> { } declare class Details extends Marko.Component<Input> { toggleDetails(ev: Event): void; clickDetails(ev: MouseEvent): void; } export default Details;