1.2.6 • Published 9 months ago
@parsimap/mui-persistent-drawer v1.2.6
Mui Persistent Drawer
Arguments
title | type | default | description |
---|---|---|---|
openTitle | string | undefined | a title when drawer is need to opened |
closeTitle | string | undefined | a title when drawer is need to closed |
width | number | undefined | to define width to drawer |
Optional Arguments
title | type | default | description |
---|---|---|---|
scroll | boolean | false | to have scroll in drawer |
right | number | undefined | to move drawer to left |
top | number | undefined | to move drawer to bottom |
onOpenChange | function | undefined | recognize when the drawer state change |
toggleButtonProps | ButtonProps | undefined | change the toggle button style |
Changelog
Version: 1.0.9
- The direction issues were resolved and completely supported ltr as well as rtl direction.
Version: 1.0.5
- The right property was added to a component to adapt that with another component on the right side of the main layout.
- The problem of is taken away button on page while parent own any position was resolved.
- The top property was added to a component.
version: 1.0.6
- The package name is renamed from mui-persistent-drawer to mui-persistent-drawer and corrected in the project.
version 1.0.8
- The documentation is rewrite in the case of separation the optional and required arguments.
- Add the ability to customizing title of the toggle button when it is opened or closed.
Usage
import MuiPersistentDrawer from '@parsimap/mui-persistent-drawer';
const App = () => {
function handleOpenChange(state: boolean) {
if (state) {
// Drawer is opend
}
}
return (
<MuiPersistentDrawer
width={400}
openTitle={"Close Details"}
closeTitle={"Open Details"}
onOpenChange={handleOpenChange}
/>
)
}
export default App;
1.2.0
9 months ago
1.1.9
9 months ago
1.1.8
11 months ago
1.2.6
9 months ago
1.1.7
11 months ago
1.2.5
9 months ago
1.1.6
11 months ago
1.2.4
9 months ago
1.2.3
9 months ago
1.2.2
9 months ago
1.2.1
9 months ago
1.1.1
11 months ago
1.1.0
11 months ago
1.0.9
11 months ago
1.1.5
11 months ago
1.1.4
11 months ago
1.1.3
11 months ago
1.1.2
11 months ago
1.0.8
1 year ago
1.0.7
1 year ago
1.0.6
1 year ago
1.0.5
1 year ago
1.0.4
1 year ago
1.0.3
1 year ago
1.0.2
1 year ago
1.0.1
1 year ago