Skip to content

Commit a3e5f2d

Browse files
PolGuixeoliviertassinari
authored andcommitted
[docs] Font vs SVG. Which approach to use? (mui#12466)
* Update icons.md * all good for me
1 parent 382b7ce commit a3e5f2d

File tree

5 files changed

+123
-101
lines changed

5 files changed

+123
-101
lines changed

packages/material-ui/src/FormHelperText/FormHelperText.d.ts

+8-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,14 @@ export interface FormHelperTextProps
1212
required?: boolean;
1313
}
1414

15-
export type FormHelperTextClassKey = 'root' | 'error' | 'disabled' | 'marginDense' | 'focused' | 'filled' | 'required';
15+
export type FormHelperTextClassKey =
16+
| 'root'
17+
| 'error'
18+
| 'disabled'
19+
| 'marginDense'
20+
| 'focused'
21+
| 'filled'
22+
| 'required';
1623

1724
declare const FormHelperText: React.ComponentType<FormHelperTextProps>;
1825

packages/material-ui/src/FormLabel/FormLabel.d.ts

+8-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,14 @@ export interface FormLabelProps extends StandardProps<FormLabelBaseProps, FormLa
1212

1313
export type FormLabelBaseProps = React.LabelHTMLAttributes<HTMLLabelElement>;
1414

15-
export type FormLabelClassKey = 'root' | 'focused' | 'disabled' | 'error' | 'filled' | 'required' | 'asterisk';
15+
export type FormLabelClassKey =
16+
| 'root'
17+
| 'focused'
18+
| 'disabled'
19+
| 'error'
20+
| 'filled'
21+
| 'required'
22+
| 'asterisk';
1623

1724
declare const FormLabel: React.ComponentType<FormLabelProps>;
1825

packages/material-ui/src/Popper/Popper.d.ts

+8-6
Original file line numberDiff line numberDiff line change
@@ -20,12 +20,14 @@ export type PopperPlacementType =
2020
export interface PopperProps extends React.HTMLAttributes<HTMLDivElement> {
2121
transition?: boolean;
2222
anchorEl?: null | HTMLElement | ReferenceObject | ((element: HTMLElement) => HTMLElement);
23-
children: React.ReactNode | ((
24-
props: {
25-
placement: PopperPlacementType;
26-
TransitionProps?: TransitionProps;
27-
},
28-
) => React.ReactNode);
23+
children:
24+
| React.ReactNode
25+
| ((
26+
props: {
27+
placement: PopperPlacementType;
28+
TransitionProps?: TransitionProps;
29+
},
30+
) => React.ReactNode);
2931
container?: PortalProps['container'];
3032
disablePortal?: PortalProps['disablePortal'];
3133
keepMounted?: boolean;

packages/material-ui/src/styles/createTypography.js

+1-2
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,7 @@ export default function createTypography(palette: Object, typography: Object | F
2020
// Apply the CSS properties to all the variants.
2121
allVariants,
2222
...other
23-
} =
24-
typeof typography === 'function' ? typography(palette) : typography;
23+
} = typeof typography === 'function' ? typography(palette) : typography;
2524

2625
const coef = fontSize / 14;
2726
function pxToRem(value) {

0 commit comments

Comments
 (0)