Semantic-ui-react: Modal close icon color

Created on 5 Dec 2016  路  1Comment  路  Source: Semantic-Org/Semantic-UI-React

Modal close icon is a great feature!

However, when we use it with dimmer='inverted' it's bearly visible.
It would be nice to have a closeIconColor or closeIcon='remove red'.

Most helpful comment

closeIcon is a "Shorthand" prop, meaning that if you pass an object that object will be passed as props to the component. So you can do:

<Modal closeIcon={{ name: 'remove', color: 'red' }}>

>All comments

closeIcon is a "Shorthand" prop, meaning that if you pass an object that object will be passed as props to the component. So you can do:

<Modal closeIcon={{ name: 'remove', color: 'red' }}>
Was this page helpful?
0 / 5 - 0 ratings