Skip to content

Latest commit

 

History

History
38 lines (29 loc) · 973 Bytes

File metadata and controls

38 lines (29 loc) · 973 Bytes

react-static-plugin-react-location

A React-Static plugin that adds support for react-location

Installation

  • Install this plugin and peer dependencies:
$ yarn add react-static-plugin-react-location react-location
  • Add the plugin to your static.config.js:
export default {
  plugins: ['react-static-plugin-react-location'],
}
export default {
  plugins: [
    [
      'react-static-plugin-react-location',
      {
        LocationProviderProps: {
          // These props will be passed to the underlying `LocationProviderProps` component
        },
      },
    ],
  ],
}