UNPKG

@progress/kendo-react-barcodes

Version:

React Barcodes provide a set of React components to build beautiful and customizable barcodes. KendoReact Barcodes package

40 lines (39 loc) 1.18 kB
/** * @license *------------------------------------------------------------------------------------------- * Copyright © 2026 Progress Software Corporation. All rights reserved. * Licensed under commercial license. See LICENSE.md in the package root for more information *------------------------------------------------------------------------------------------- */ import { Margin } from './margin.interface.js'; /** * The Barcode text label configuration. */ export interface BarcodeText { /** * Sets the color of the text. Any valid CSS color string will work here, including hex and rgb. * * @default "black" */ color?: string; /** * Sets the font of the text. * * @default "16px Consolas, Monaco, Sans Mono, monospace, sans-serif" */ font?: string; /** * Sets the margin of the text. A numeric value sets all margins. * * @default 0 */ margin?: Margin | number; /** * Shows or hides the Barcode text label. * * If set to `false`, the Barcode will not display the value as text below the barcode lines. * * @default true */ visible?: boolean; }