UNPKG

@ebay/ebayui-core

Version:

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

20 lines (19 loc) 703 B
import type { Input as NoticeBaseInput } from "../components/ebay-notice-base/component"; import type { WithNormalizedProps } from "../../global"; interface EducationNoticeInput extends Omit<NoticeBaseInput, "role" | "prefixClass" | "mainRoot" | `on${string}`> { dismissed?: boolean; "on-dismiss"?: () => void; variant?: "none" | "prominent"; "icon-variant"?: "none" | "prominent"; } export interface Input extends WithNormalizedProps<EducationNoticeInput> { } interface State { dismissed: boolean; } declare class EducationNotice extends Marko.Component<Input, State> { onCreate(): void; onInput(input: Input): void; onDismiss(): void; } export default EducationNotice;