Skip to content

Incubator.Dialog - header refactor #1845

New issue

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

Merged
merged 2 commits into from
Feb 14, 2022

Conversation

M-i-k-e-l
Copy link
Collaborator

Description

Incubator.Dialog - header refactor

Changelog

Incubator.Dialog - header refactor

return <View style={styles.knob}/>;
}
}, [showKnob]);

const _renderContent = useMemo(() => {
Copy link
Collaborator

Choose a reason for hiding this comment

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

I would change "_renderContent" to "headerContent" to be extra clear and follow the other component's naming

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Missed that, 10x
Maybe I should rename the prop as well 🤔

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

But it's under headerProps, WDYT?

Copy link
Collaborator

Choose a reason for hiding this comment

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

I think the prop name is good

@Inbal-Tish Inbal-Tish merged commit a86d7ee into master Feb 14, 2022
@M-i-k-e-l M-i-k-e-l deleted the feat/incubator-dialog-small-changes-2 branch February 14, 2022 09:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants