forked from KelvinTegelaar/CIPP
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #84 from KelvinTegelaar/dev
[pull] dev from KelvinTegelaar:dev
- Loading branch information
Showing
24 changed files
with
1,089 additions
and
7,284 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
5.2.1 | ||
5.3.1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
import React from 'react' | ||
import { CippOffcanvas } from 'src/components/utilities' | ||
import PropTypes from 'prop-types' | ||
import { CippDatatable } from '../tables' | ||
|
||
function CippTableOffcanvas({ | ||
state: visible, | ||
hideFunction, | ||
title = 'Table', | ||
path, | ||
params, | ||
columns, | ||
tableProps, | ||
}) { | ||
return ( | ||
<> | ||
<CippOffcanvas | ||
title={title} | ||
addedClass="offcanvas-large" | ||
placement="end" | ||
visible={visible} | ||
hideFunction={hideFunction} | ||
> | ||
<CippDatatable path={path} params={params} columns={columns} tableProps={tableProps} /> | ||
</CippOffcanvas> | ||
</> | ||
) | ||
} | ||
|
||
CippTableOffcanvas.propTypes = { | ||
state: PropTypes.bool, | ||
hideFunction: PropTypes.func, | ||
title: PropTypes.string, | ||
path: PropTypes.string, | ||
params: PropTypes.object, | ||
columns: PropTypes.object, | ||
tableProps: PropTypes.object, | ||
} | ||
|
||
export default CippTableOffcanvas |
Oops, something went wrong.