intentful
Version:
Create Custom Skills with less headache
24 lines (23 loc) • 1.33 kB
TypeScript
import { LabeledRequestHandler } from '../../../skill/models';
import { Calculable } from '../../../types';
import { Command, CommandModel, CommandProps } from '../../commands';
import { APLActionableComponentModel, APLActionableComponentProps, APLMultiChildComponentModel, APLMultiChildComponentProps } from '../../interfaces';
import { APLBaseComponentModel, APLBaseComponentProps, APLComponent } from '../component';
export interface APLGridSequenceModel extends APLBaseComponentModel, APLActionableComponentModel, APLMultiChildComponentModel {
childHeights?: string[];
childWidths?: string[];
numbered: Calculable<boolean>;
onScroll?: Command<CommandModel, CommandProps>[];
}
export interface APLGridSequenceProps extends APLBaseComponentProps, APLActionableComponentProps, APLMultiChildComponentProps {
childHeights?: string[];
childWidths?: string[];
numbered: Calculable<boolean>;
onScroll?: Command<CommandModel, CommandProps>[];
}
export declare class APLGridSequence extends APLComponent<APLGridSequenceModel, APLGridSequenceProps> {
constructor(props: APLGridSequenceProps);
addItems(...items: APLComponent<APLBaseComponentModel, APLBaseComponentProps>[]): this;
componentSpecificModel(): APLGridSequenceModel;
componentSpecificRequestHandlers(): LabeledRequestHandler[];
}