Démonstration - EAN-8

* 30 caractères maximum pour cette démo.
import { BakeryColor, BakeryFont } from '@barcode-bakery/barcode-react';
import { BakeryEan8 } from '@barcode-bakery/barcode-react/1d';

export default function Home() {
  const font = new BakeryFont('Arial', 18);
  const colorBlack = new BakeryColor(0, 0, 0);
  const colorWhite = new BakeryColor(255, 255, 255);

  return <BakeryEan8
    scale={2}
    thickness={30}
    foregroundColor={colorBlack}
    backgroundColor={colorWhite}
    font={font}
    text='9871545'
  >;
}