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