alphagov / govuk-frontend

GOV.UK Frontend contains the code you need to start building a user interface for government platforms and services.
https://frontend.design-system.service.gov.uk/
MIT License
1.17k stars 320 forks source link

Make `isSupported()` part of our public API #5210

Closed romaricpascal closed 1 month ago

romaricpascal commented 1 month ago

What

Make isSupported() public and export it in all.mjs

Why

So services can check whether GOV.UK Frontend is supported the same way our code does, reducing duplication.

Who needs to work on this

Developers, Content writers

Who needs to review this

Developers, Content writers

Done when

romaricpascal commented 1 month ago

Added an item to the Docs tasklist of the epic (#5205) so we can close this one.