Open notramo opened 1 year ago
This is already possible with something like
<Text override={{ textDecoration: 'line-through' }}>This is a nice text</Text>
Do you mean having this as a prop that applies this style? I'm not sure it scales, since we will have to also add props for the other text decorations
@BeeMargarida, Text
is already styled with properties. What aspects of styling are used in deciding if it should be a prop or not?
@BeeMargarida,
Text
is already styled with properties. What aspects of styling are used in deciding if it should be a prop or not?
Yap, you're right, we already have underline
. Sure, we can add a prop for strikethrough, but I would call it lineThrough, to match the css property.
Do you wish to contribute with this feature?
@BeeMargarida, I can try to implement this, you can assign it to me.
@BeeMargarida, I can try to implement this, you can assign it to me.
If you need any help or have any questions, feel free to ask me here or in Discord
Hi, any update? Do you need any help?
I need to get familiar with the codebase a little bit more, and I haven't found time for it yet. However, it doesn't seem to be a difficult task.
Usage example, including component, action, motion, or utility API
Please add a property for the
Text
component to make it strike-through.Possible implementation - describe how the feature can be implemented
No response
Do you want to contribute this feature and create a pull request
Yes