Skip to content

Conversation

@ckj
Copy link
Member

@ckj ckj commented Jan 9, 2018

This makes the SettingsPageHeader a little more consistent and flexible:

It supports 3 props: title, action, and tabs

All present:

screen shot 2018-01-08 at 4 32 22 pm

No tabs:

screen shot 2018-01-08 at 4 32 05 pm

Title-only:

screen shot 2018-01-08 at 4 42 56 pm

@ckj ckj requested review from Chrissy and billyvg January 9, 2018 00:43
@ckj ckj changed the title fix(settings): refactor settings page header to support titles and tabs refactor(settings): refactor settings page header to support titles and tabs Jan 9, 2018
@ghost
Copy link

ghost commented Jan 9, 2018

1 Warning
⚠️ You should update CHANGES due to the size of this PR

Generated by 🚫 danger

label: PropTypes.string,
title: PropTypes.string,
action: PropTypes.node,
tabs: PropTypes.node,
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nit: I would rename this to something less specific, otherwise I think it kind of implies that there may be some tab-magic going on.

@ckj ckj merged commit 290513f into master Jan 9, 2018
@ckj ckj deleted the refactor_settings_page_header branch January 9, 2018 17:37
@github-actions github-actions bot locked and limited conversation to collaborators Dec 22, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants