March 2019
Intermediate to advanced
534 pages
14h 52m
English
This example uses a Storybook control to change the fontSize property of the icons that are rendered:

Here's some code that renders several icons that use the selected fontSize value:
import React, { Fragment } from 'react';import { withStyles } from '@material-ui/core/styles';import Cast from '@material-ui/icons/Cast';import CastConnected from '@material-ui/icons/CastConnected';import CastForEducation from '@material-ui/icons/CastForEducation';import Computer from '@material-ui/icons/Computer';import DesktopMac from '@material-ui/icons/DesktopMac';import DesktopWindows from '@material-ui/icons/DesktopWindows';import DeveloperBoard ...Read now
Unlock full access