Inline Style Objects Move Outside

ReactJS Medium 6 views
Back to Questions

Problem Description

Refactor a component to move style objects outside and keep render clean.

Input Format

No input.

Output Format

Render a React component.

Constraints

Declare styles as constants outside the component.

Solutions (0)

No solutions submitted yet. Be the first!

Discussion (0)

No comments yet. Start the discussion!

Prev Next