phx-react
Version:
PHX REACT
19 lines (18 loc) • 505 B
TypeScript
import React from 'react';
export type TBookBorrowData = {
id: number;
title: string;
code: string;
image?: string;
stateId: number;
};
export default function BookBorrowInfo({ bookBorrowerId, listBookBorrower, onChange, prefixQrCode, warehouseId, }: {
warehouseId: number;
bookBorrowerId: number;
onChange(data: Array<TBookBorrowData>): void;
listBookBorrower: Array<{
id: number;
code: string;
}>;
prefixQrCode: string;
}): React.JSX.Element;