0

I am using griddle-react and have issues with default styling css i.e. 'griddle-cell' or 'griddle-row'. Where do I find/install corresponding css ? Or am I supposed to create myself ?

<Griddle styleConfig={styleConfig}
            data={...}
            plugins={[plugins.LocalPlugin]}
/>

and

const styleConfig = {        
    classNames: {
        Cell: 'griddle-cell',
        Row: 'griddle-row', //'row-class',   
    }
  }
Ajay Brahmakshatriya
  • 8,993
  • 3
  • 26
  • 49
irom
  • 3,316
  • 14
  • 54
  • 86

1 Answers1

1

Griddle 1.x does not ship with a default stylesheet, just default class names.

As of around v1.8 (via Griddle#677) it does include an incomplete LegacyStylePlugin that we'd love to align more closely with how Griddle 0.x rendered, if you care to contribute.

dahlbyk
  • 75,175
  • 8
  • 100
  • 122