With a rule name as part of the component's styleOverrides property in a custom theme.You can override the style of the component using one of these customization options: Styles applied to the root element if fontSize="large". Styles applied to the root element if fontSize="medium". Styles applied to the root element if fontSize="small". Styles applied to the root element if fontSize="inherit". Styles applied to the root element if color="disabled". Styles applied to the root element if color="error". ![]() Styles applied to the root element if color="action". Get free Svg icons in iOS, Material, Windows and other design styles for web, mobile, and graphic design projects. Styles applied to the root element if color="secondary". Styles applied to the root element if color="primary". To learn more, visit the component customization page. The following class names are useful for styling with CSS (the state classes are marked). Theme default props You can use MuiSvgIcon to change the default props of this component with the theme. ![]() The ref is forwarded to the root element. For example, if the SVG element is 500 (width) by 200 (height), and you pass viewBox="0 0 50 20", this means that the coordinates inside the SVG will go from the top left corner (0,0) to bottom right (50,20) and each unit will be worth 10px. Allows you to redefine what the coordinates without units mean inside an SVG element.
0 Comments
Leave a Reply. |