Skip to content

Update DrawerPanelContent to use breakpoint mods #4238

@redallen

Description

@redallen

DrawerPanelContent.tsx should change its API from:

  /** Default width for drawer panel */
  width?: 25 | 33 | 50 | 66 | 75 | 100;
  /** Drawer panel width on large viewports */
  widthOnLg?: 25 | 33 | 50 | 66 | 75 | 100;
  /** Drawer panel width on xl viewports */
  widthOnXl?: 25 | 33 | 50 | 66 | 75 | 100;
  /** Drawer panel width on 2xl viewports */
  widthOn2Xl?: 25 | 33 | 50 | 66 | 75 | 100;

to

  breakpointMods?: DrawerBreakpointMod[]

and use our formatBreakpointMods helper function.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions