Skip to content

Questions on SwipeAreaProps (How to use them). #19660

@TommyJackson85

Description

@TommyJackson85

In the Swipable Drawer API documentation, more clarity could be added to how to utilise SwipeAreaProps on the Swipe Area. Maybe add a brief example. I couldn't find any sandbox examples of it being used.

In the mean time, does anybody have examples of where this feature is used? Or how I might use it? Can it be used for Styling it? Maybe not have it close fully to become like a mini variant drawer that can be swiped on the phone?
So far in the documentation it just highlights its an object and what its used for:
Props applied to the swipe area element.

Does it have the same rules as makeStyles ?

--
--------------^ Click "Preview" for a nicer view!

We use GitHub issues exclusively as a bugs and feature request tracker.

For support, please check out https://material-ui.com/getting-started/support/. Thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    component: SwipeableDrawerThe React component.docsImprovements or additions to the documentation.good first issueGreat for first contributions. Enable to learn the contribution process.scope: drawerChanges related to the drawer.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions