oak-frontend-base/lib/types/AbstractComponent.d.ts

17 lines
411 B
TypeScript

export declare type OakActionBtnProps = {
label: string;
action: string;
type?: 'a' | 'button';
ctxType?: string;
};
export declare type OakAbsNativeAttrDef = {
path: string;
width?: 1 | 2 | 3 | 4;
};
export declare type OakAbsFullAttrDef = {
label: string;
value: string;
width: 1 | 2 | 3 | 4;
};
export declare type OakAbsAttrDef = OakAbsFullAttrDef | OakAbsNativeAttrDef;