Skip to content

Instantly share code, notes, and snippets.

View gmg's full-sized avatar

Gwyn Perry gmg

View GitHub Profile
@gmg
gmg / itinerary.jsx
Created October 29, 2023 16:22
Adding dot grid to ReCalendar itinerary pages
import { StyleSheet, Text, View } from '@react-pdf/renderer';
import PropTypes from 'prop-types';
import React from 'react';
import { ITINERARY_ITEM, ITINERARY_LINES } from 'configuration-form/itinerary';
class Itinerary extends React.PureComponent {
styles = StyleSheet.create( {
line: {
borderBottom: '1 solid #AAA',