Security News
Weekly Downloads Now Available in npm Package Search Results
Socket's package search now displays weekly downloads for npm packages, helping developers quickly assess popularity and make more informed decisions.
material-ui-bottom-sheet
Advanced tools
Bottom sheets slide up from the bottom of the screen to reveal more content. See the material specs
There are two variants:
For now we'll focus on the modal variant.
See this component in action
npm i --save react-custom-scrollbars material-ui-bottom-sheet
import { BottomSheet } from 'material-ui-bottom-sheet'
import { List, ListItem, Subheader } from 'material-ui'
// ...
render() {
return(
<div>
<BottomSheet
onRequestClose={() => console.log('close')}
open
>
<Subheader>Open in</Subheader>
<List>
<ListItem primaryText="Google Plus" />
<ListItem primaryText="Facebook" />
<ListItem primaryText="Inbox" />
<ListItem primaryText="TextEditor" />
</List>
</BottomSheet>
</div>
)
}
Name | Type | Default | Description |
---|---|---|---|
action | node | Adds an action element at the top right corner. | |
actionStyle | object | Override the inline-styles of the action element. | |
bodyStyle | object | Override the inline-styles of the body container. | |
contentStyle | object | Override the inline-styles of the content container. | |
onRequestClose* | function | noop | Fired when the gray background of the popup is pressed when it is open. |
open | bool | false | Controls whether the bottom sheet is opened or not. |
style | object | Override the inline-styles of the root element. |
* required property
The files included in this repository are licensed under the MIT license.
FAQs
Material style bottom sheet
The npm package material-ui-bottom-sheet receives a total of 86 weekly downloads. As such, material-ui-bottom-sheet popularity was classified as not popular.
We found that material-ui-bottom-sheet demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 4 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Socket's package search now displays weekly downloads for npm packages, helping developers quickly assess popularity and make more informed decisions.
Security News
A Stanford study reveals 9.5% of engineers contribute almost nothing, costing tech $90B annually, with remote work fueling the rise of "ghost engineers."
Research
Security News
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.