test-nut-ui
Version:
<p align="center"> <img alt="logo" src="https://img11.360buyimg.com/imagetools/jfs/t1/211965/25/7152/22022/61b16785E433119bb/aa41d7a9f7e823f3.png" width="150" style="margin-bottom: 10px;"> </p>
26 lines (25 loc) • 756 B
TypeScript
/// <reference types="react" />
import { BasicComponent } from '../../utils/typings';
export type RightDataItemType = "push" | "model";
interface RightDataItemModel {
title: string;
type?: RightDataItemType;
todo?: string;
}
export interface VotePageCardProps extends BasicComponent {
backgroundImage: string;
rightDataList: RightDataItemModel[];
rightDataListClick: (index: number) => void;
miniRightDataClickRules: () => void;
miniRightDataClickShare: () => void;
handlerSaveClick?: (data: any) => void;
data: any;
showResult?: boolean;
moreRoute?: string;
resultRoute?: string;
}
export declare const VotePageCard: {
(props: VotePageCardProps): JSX.Element;
displayName: string;
};
export {};