UNPKG

@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!

13 lines (10 loc) 333 B
import { Schema } from '@pdfme/common'; import { BARCODE_TYPES } from './constants.js'; export interface BarcodeSchema extends Schema { type: (typeof BARCODE_TYPES)[number]; backgroundColor: string; barColor: string; textColor?: string; includetext?: boolean; } export type BarcodeTypes = (typeof BARCODE_TYPES)[number];