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

create button component #16

Open
da1nerd opened this issue Jan 17, 2021 · 1 comment
Open

create button component #16

da1nerd opened this issue Jan 17, 2021 · 1 comment
Labels
ui:component A visual component

Comments

@da1nerd
Copy link
Owner

da1nerd commented Jan 17, 2021

This might actually be two different components. A plain button component without any text, and a text button component that utilizes the text component (#14) to display some button text. Buttons usually have text on them so the text button will likely be "Button" and the plain button could be something like "Clickable".

Abstracting out the clickable functionality of the button into a "Clickable" component would allow creating things like image buttons and the like.

@da1nerd da1nerd added the ui:component A visual component label Jan 17, 2021
@da1nerd da1nerd added this to the Basic UI components milestone Jan 18, 2021
@da1nerd
Copy link
Owner Author

da1nerd commented Mar 9, 2021

This really should have anything to do with text. We just need a clickable component that has no visible UI. Then we can create buttons and text buttons by composing clickable with other components.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ui:component A visual component
Projects
None yet
Development

No branches or pull requests

1 participant