Conditionally Adding Attribute To The React Components

Conditionally Adding Attribute To The React Components