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

Left/right prefix (react element) for Input component. #1

Closed
namcusc opened this issue May 10, 2017 · 2 comments
Closed

Left/right prefix (react element) for Input component. #1

namcusc opened this issue May 10, 2017 · 2 comments

Comments

@namcusc
Copy link
Collaborator

namcusc commented May 10, 2017

It should have that kind of prefix/suffix for cases, e.g: currency, command icon..

@cloudle
Copy link
Owner

cloudle commented May 10, 2017

Yup, we'll have it like this I guess:

<Input prefix={<Icon name="mail"/>} ... />

Plus: prefix, suffix could be a String as well as a React element.

@cloudle
Copy link
Owner

cloudle commented May 12, 2017

We had it since version 0.0.91!

@cloudle cloudle closed this as completed May 12, 2017
phucanthony added a commit that referenced this issue Aug 31, 2020
merge from cloudle/ruui
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants