# AttributionControl ![Since v7.0](https://img.shields.io/badge/since-v7.0-green) React component that wraps [AttributionControl](https://docs.mapbox.com/mapbox-gl-js/api/markers/#attributioncontrol). ```js import * as React from 'react'; import Map, {AttributionControl} from 'react-map-gl'; function App() { return ; } ``` ## Properties Note that the following properties are not reactive. They are only used when the component first mounts. #### compact: boolean | undefined - If `true` , force a compact attribution that shows the full attribution on mouse hover. - If `false` , force the full attribution control. - If unset, shows a responsive attribution that collapses when the map is less than 640 pixels wide. Note that your attribution must adhere to Mapbox's [guidelines](https://docs.mapbox.com/help/getting-started/attribution/). #### customAttributions: string | string[] String or strings to show in addition to any other attributions. #### position: 'top-right' | 'top-left' | 'bottom-right' | 'bottom-left' Default: `'bottom-right'` Placement of the control relative to the map.