UNPKG

@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) 649 B
import type { Input as NoticeBaseInput } from "../components/ebay-notice-base/component"; import type { WithNormalizedProps } from "../../global"; interface SectionNoticeInput extends Omit<NoticeBaseInput, "role" | "prefixClass" | "mainRoot" | `on${string}`> { dismissed?: boolean; "on-dismiss"?: () => void; "on-cta-click"?: () => void; } export interface Input extends WithNormalizedProps<SectionNoticeInput> { } interface State { dismissed: boolean; } declare class SectionNotice extends Marko.Component<Input, State> { onCreate(): void; onInput(input: Input): void; onDismiss(): void; } export default SectionNotice;