Skip to content

[Docs] EuiProvider custom breakpoints example no longer works #7829

Closed

Description

@cee-chen

Problem

https://eui.elastic.co/#/theming/breakpoints/values#custom-values

Broken EuiProvider example:

<EuiProvider modify={{ breakpoint: CUSTOM_BREAKPOINTS }}>

The PR that broke this was #6949 - we now return early for nested EuiProviders, meaning there can only be one top-level provider on each page, meaning the example is now broken 😅

Solution

  • One quick fix could be creating a Storybook with custom breakpoints and then embedding it as an iframe
  • Alternatively, we could simply wait until EUI+ where everything will be on Storybook embeds at that point in any case

Activity

  1. added
    documentation
    on Jun 11, 2024
  2. changed the title [-][Docs] Custom breakpoints/EuiProvider example no longer works[/-] [+][Docs] EuiProvider custom breakpoints example no longer works[/+] on Jun 11, 2024
  3. JasonStoltz commented on Jun 24, 2024

    @JasonStoltz
    Contributor

    This should be fixed when we roll out our new documentation site, which is slated for the end of this quarter.

  4. self-assigned this
    on Jun 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

documentationknown issue

Type

No type

Projects

No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions