UNPKG

intentful

Version:

Create Custom Skills with less headache

41 lines (40 loc) 1.99 kB
import { LabeledRequestHandler } from '../../../../skill/models'; import { Calculable } from '../../../../types'; import { Command, CommandModel, CommandProps } from '../../../commands'; import { Color } from '../../../interfaces'; import { APLBaseComponentModel, APLBaseComponentProps, APLComponent } from '../../component'; export interface AlexaHeaderModel extends APLBaseComponentModel { headerAttributionImage?: Calculable<string>; headerAttributionOpacity?: Calculable<string>; headerAttributionPrimacy?: Calculable<string>; headerAttributionText?: Calculable<string>; headerBackButton?: Calculable<boolean>; headerBackButtonAccessibilityLabel?: Calculable<string>; headerBackButtonCommand?: Command<CommandModel, CommandProps>; headerBackgroundColor?: Calculable<Color>; headerDivider?: Calculable<string>; headerHorizontalAlignmentCentered?: Calculable<string>; headerSubtitle?: Calculable<string>; headerTitle?: Calculable<string>; layoutDirection?: Calculable<string>; } export interface AlexaHeaderProps extends APLBaseComponentProps { headerAttributionImage?: Calculable<string>; headerAttributionOpacity?: Calculable<string>; headerAttributionPrimacy?: Calculable<string>; headerAttributionText?: Calculable<string>; headerBackButton?: Calculable<boolean>; headerBackButtonAccessibilityLabel?: Calculable<string>; headerBackButtonCommand?: Command<CommandModel, CommandProps>; headerBackgroundColor?: Calculable<Color>; headerDivider?: Calculable<string>; headerHorizontalAlignmentCentered?: Calculable<string>; headerSubtitle?: Calculable<string>; headerTitle?: Calculable<string>; layoutDirection?: Calculable<string>; } export declare class AlexaHeader extends APLComponent<AlexaHeaderModel, AlexaHeaderProps> { constructor(props: AlexaHeaderProps); componentSpecificModel(): AlexaHeaderModel; componentSpecificRequestHandlers(): LabeledRequestHandler[]; }