Deviopath › React

Font Size Buttons

Easy · Styling

The <p> starts with an inline fontSize of 16px.

The "A+" button makes it 2px bigger, and the "A-" button makes it 2px smaller. Use the style prop.

Next: Pick a Fruit