Skip to content
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

Support for TopBar custom component #3

Open
oribentov opened this issue Dec 8, 2020 · 1 comment
Open

Support for TopBar custom component #3

oribentov opened this issue Dec 8, 2020 · 1 comment
Assignees

Comments

@oribentov
Copy link

Hey,
another useful usage for us of .withTitle or .withLeftButton (etc.) can be use a custom component for that.

today's API: docs
example:
image

🥇

@ethanshar ethanshar self-assigned this Dec 8, 2020
@ethanshar
Copy link
Collaborator

This one is interesting..
not sure yet about what's the proper way to add it 🤔
Each "Custom Component" has slightly different props.
For instance, custom component for topbar title has alignment
and a custom component for topbar left button has width & heigh

Trying to think on a general API that will solve both in a nice way..

ill update.

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

No branches or pull requests

2 participants