Fakultas Ilmu Komputer UI

types.ts 257 Bytes
Newer Older
1
2
3
4
5
6
7
8
9
10
11
12
13
export interface Props {
  headerText: string;
  items: {
    title: string;
    price?: string;
    value: string | number;
    info?: string[];
    onReadMore: () => void;
  }[];
  value: any;
  onChange: (_: any) => void;
  onButtonPress?: () => void;
}