We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Hi,
Can you add a props in Button.Or to change text ? And set basic text to "or" ?
Have fun
The text was updated successfully, but these errors were encountered:
Thanks for the suggestion. The content of the Or button is set via CSS:
So this change would need to happen in the CSS which is at https://github.com/Semantic-Org/Semantic-UI. The React project only includes React components.
That said, you can also simply add an override CSS rule that changes the content property as well.
content
Sorry, something went wrong.
@levithomason You're not right there, it can be done with data-text:
data-text
<div class="ui buttons"> <button class="ui button">un</button> <div class="or" data-text="ou"></div> <button class="ui positive button">deux</button> </div>
I think we need this functionality via text prop.
text
Thanks for the catch @layershifter!
No branches or pull requests
Hi,
Can you add a props in Button.Or to change text ?
And set basic text to "or" ?
Have fun
The text was updated successfully, but these errors were encountered: