react-tiny-fab
react-tiny-fab copied to clipboard
Add Style to texts
Can we add a props to style the texts?
What styles are you trying to add, just so I am on the same page?
To change the Texts I mean to make it bold or italic or to change the font size
@smajumder2017 Are you talking about the labels beside the buttons or the icons inside the button?
It looks like this could possibly be achieved simply by changing this type to React.ReactNode which would allow the Action text prop accept any type of React Component.
@dericgw Yes, That can be done also. I mean
text:string | React.React.Node
will work i guess
@dericcain Once I'm passing one html element and passing custom styles to it(For the label of action). then black border appears over it Even After I have passed {border:none, outline: none}.
I have added screenshot as well Can u pls reply me asap.
Can you tell me how can I remove this black Outline ?