@ebay/ebayui-core
Version:
Collection of core eBay components; considered to be the building blocks for all composite structures, pages & apps.
11 lines (10 loc) • 310 B
TypeScript
import type { Input } from "./index.marko";
interface State {
selectedIndex: number;
}
declare class SegmentedButtons extends Marko.Component<Input, State> {
onCreate(): void;
onInput(input: Input): void;
onButtonClick(index: number, ev: PointerEvent): void;
}
export default SegmentedButtons;