Open PaulioRandall opened 1 month ago
I need to look at this together with the SidebarHint
component 1 tomorrow - both render either a tooltip or modal.
@jamesscottbrown ready for review.
@jamesscottbrown when reviewing this - the sidebarHint has a todo against it to implement a popover - see meltUi popover - also implemented in hsds hub.
I need to look at this together with the
SidebarHint
component 1 tomorrow - both render either a tooltip or modal.
I've updated <SidebarHint>
to use a <Tooltip>
for its modal option. I realize this change will be further overridden by #346 so I avoided changing too much.
What does this change?
Adds support for modals to tooltips.
Why?
To ensure long and essential information for layer toggles can be placed somewhere, e.g. Green Spaces layer in https://apps.london.gov.uk/wild-and-free/ requires showing license info and link to the London DataStore.
How is it tested?
Storybook
How is it documented?
Storybook
Is it complete?