import { PropsWithChildren, type ComponentRef, type ForwardRefExoticComponent, type RefAttributes } from 'react'; import { StyledProp, StyledProps, WithStyledProps } from '@mapples/style'; import { View, ViewProps } from 'react-native'; import { SvgProps } from 'react-native-svg'; import { type BarcodeFormat } from './BarCodeEncoder'; /** * Props for the BarCode component. * * @public */ export type BarCodeProps = PropsWithChildren, 'styled'> & { /** Styling configuration for the barcode container and SVG */ styled?: StyledProps & { /** SVG-specific styling */ styleSvg?: StyledProp; }; /** The value to encode as a barcode */ value?: string; /** Height of the barcode bars */ height?: number; /** Width of each bar module */ width?: number; /** Background color of the barcode */ backgroundColor?: string; /** Foreground color of the barcode bars */ foregroundColor?: string; /** Barcode format (default: CODE128) */ format?: BarcodeFormat; }>; /** * A customizable barcode component with built-in styling support. * * The BarCode component renders a barcode using BarcodeEncoder for generation * and react-native-svg for rendering. It supports customizable styling * through the @mapples/style system. * * @example * ```tsx * * ``` * * @public */ declare const BarCode: ForwardRefExoticComponent>>; export default BarCode; //# sourceMappingURL=BarCode.d.ts.map