Griddle_React default css

208 Views Asked by At

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',   
    }
  }
1

There are 1 best solutions below

0
On

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.