-
Notifications
You must be signed in to change notification settings - Fork 2.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: add ability to set custom resource headers (#1187)
Add an ability to set a custom resource headers. For #1174
- Loading branch information
1 parent
6b90182
commit 6708a45
Showing
3 changed files
with
31 additions
and
4 deletions.
There are no files selected for viewing
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,14 @@ | ||
import PropTypes from 'prop-types' | ||
import React from 'react' | ||
|
||
const ResourceHeader = ({ label }) => { | ||
return <React.Fragment>{label}</React.Fragment> | ||
} | ||
|
||
ResourceHeader.propTypes = { | ||
label: PropTypes.node, | ||
index: PropTypes.number, | ||
resource: PropTypes.object, | ||
} | ||
|
||
export default ResourceHeader |
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