Skip to content

Add a CSSClass parameter to the Map component#11

Open
Chris-Mingay wants to merge 1 commit into
fis-sst:masterfrom
Chris-Mingay:css-class-parameter
Open

Add a CSSClass parameter to the Map component#11
Chris-Mingay wants to merge 1 commit into
fis-sst:masterfrom
Chris-Mingay:css-class-parameter

Conversation

@Chris-Mingay

@Chris-Mingay Chris-Mingay commented Nov 14, 2021

Copy link
Copy Markdown
<div class="map-wrapper">
    <Map @ref="mapRef" MapOptions="@mapOptions" CssClass="custom-css-class"></Map>
</div>

Why?
I wanted to be able to use Tailwind CSS to define style directly to the map component.

How?
Adding a simple CssClass parameter to the Map component.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant