Skip to content

Commit

Permalink
fix: linting
Browse files Browse the repository at this point in the history
  • Loading branch information
FritzHoing committed Sep 22, 2023
1 parent 3a65012 commit 809a525
Showing 1 changed file with 11 additions and 11 deletions.
22 changes: 11 additions & 11 deletions src/BackgroundLayerChooser/BackgroundLayerChooser.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -29,24 +29,24 @@ import './BackgroundLayerChooser.less';

export type BackgroundLayerChooserProps = {
/**
* Array of layers to be displayed in the BackgroundLayerChooser.
*/
* Array of layers to be displayed in the BackgroundLayerChooser.
*/
layers: OlLayer[];
/**
* Adds a button that clears the backgroundlayer.
*/
* Adds a button that clears the backgroundlayer.
*/
allowEmptyBackground?: boolean;
/**
* Customize the tooltip.
*/
* Customize the tooltip.
*/
buttonTooltip?: string;
/**
* Filters the backgroundlayers by a function.
*/
* Filters the backgroundlayers by a function.
*/
backgroundLayerFilter?: (layer: OlLayerBase) => boolean;
/**
* Select a Layer that should be active initially.
*/
* Select a Layer that should be active initially.
*/
initiallySelectedLayer?: OlLayer;
};

Expand Down Expand Up @@ -142,7 +142,7 @@ export const BackgroundLayerChooser: React.FC<BackgroundLayerChooserProps> = ({
visibility: layerOptionsVisible ? 'visible' : 'hidden'
}}
>
{ selectedLayer ?
{selectedLayer ?
layers.map(layer => {
return (
<BackgroundLayerPreview
Expand Down

0 comments on commit 809a525

Please sign in to comment.