@pdfme/schemas
Version:
TypeScript base PDF generator and React base UI. Open source, developed by the community, and completely free to use under the MIT license!
11 lines (10 loc) • 333 B
TypeScript
import { Schema } from '@pdfme/common';
import { BARCODE_TYPES } from './constants.js';
export type BarcodeSchema = Schema & {
type: (typeof BARCODE_TYPES)[number];
backgroundColor: string;
barColor: string;
textColor?: string;
includetext?: boolean;
};
export type BarcodeTypes = (typeof BARCODE_TYPES)[number];