@ebay/ebayui-core
Version:
Collection of core eBay components; considered to be the building blocks for all composite structures, pages & apps.
19 lines (18 loc) • 598 B
TypeScript
import type { WithNormalizedProps } from "../../global";
export interface ListItem extends Omit<Marko.HTML.Div, `on${string}`> {
as?: keyof Marko.NativeTags;
separator?: boolean;
leading?: Marko.AttrTag<Marko.HTML.Div>;
trailing?: Marko.AttrTag<Marko.HTML.Div>;
}
interface ListInput extends Omit<Marko.HTML.Div, `on${string}`> {
item?: Marko.AttrTag<ListItem>;
"on-button-click"?: (event: {
index: number;
}) => void;
}
export interface Input extends WithNormalizedProps<ListInput> {
}
declare class List extends Marko.Component<Input> {
}
export default List;