31.2.1 • Published 14 days ago

@equinor/fusion-react-ag-grid-styles v31.2.1

Weekly downloads
-
License
ISC
Repository
github
Last release
14 days ago

AG Grid Styles

Storybook

Install

npm install @equinor/fusion-react-ag-grid-styles

About

The hook adds the theme alpine-fusion to your ag-grid instance without adding global stylesheet to the portal. It sets up the required variables and classnames for use in your component in a scoped naming scheme.

You do not need any other styles from the ag-grid package or other fusion packages.

Usage

  • Add the root item from the hook to set up required variables in your scope.

  • And set the theme name to ag-theme-alpine-fusion

import AgGridReact from '@ag-grid-community/core';
import useStyles from '@equinor/fusion-react-ag-grid-styles';

const MyComponent = (): JSX.Element => {
  const styles = useStyles();
  
  return (
    <div className={ styles.root }>
      <div className='ag-theme-alpine-fusion'>
        <AgGridReact { ...props } />
      </div>
    </div>
  );
};
31.2.1

14 days ago

31.2.0

23 days ago

30.2.0

6 months ago

30.0.0

7 months ago

29.3.13

9 months ago

29.3.14

8 months ago

29.3.7

10 months ago

29.3.15

8 months ago

29.3.8

9 months ago

29.3.16

8 months ago

29.3.9

9 months ago

29.3.10

9 months ago

29.3.11

9 months ago

29.3.12

9 months ago

29.3.6

11 months ago

29.3.4

11 months ago

29.3.5

11 months ago

29.3.4-beta.2

11 months ago

29.3.4-beta.1

11 months ago

29.3.4-beta.0

11 months ago

0.4.7

1 year ago

0.4.6

1 year ago

0.4.5

1 year ago

0.4.4

2 years ago

0.4.3

2 years ago

0.4.2

2 years ago

0.4.1

2 years ago