We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
On appsman we made this thing:
const {PanelTitle} = require('pui-react-panels'); const ActionPanelHeader = ({title, actions}) => ( <div className="action-panel-header"> <PanelTitle>{title}</PanelTitle> <div className="actions mrl mtm">{actions}</div> </div> ); module.exports = ActionPanelHeader;
.action-panel-header { position: relative; .actions { position: absolute; top: 0; right: 0; } }
which is invoked roughly like this:
actions = <HighlightButton>click me</HighlightButton> header = <ActionPanelHeader title="so title" actions={actions}/> <BasicPanelAlt header={header}> Some stuff </BasicPanelAlt>
If we like this, I'll make a PR or something
The text was updated successfully, but these errors were encountered:
note that this is only as nice as it is because of #342
Sorry, something went wrong.
@pivotal-plech @charleshansen
relates to #287
fb9ec78
No branches or pull requests
On appsman we made this thing:
which is invoked roughly like this:
If we like this, I'll make a PR or something
The text was updated successfully, but these errors were encountered: