-
-
## Typography
```js
const theme = createMuiTheme({
typography: {
// Tell Material-UI what the font-size on the html element is.
htmlFontSize: 16,
fontSize: 14,
},
});
```
…
-
Hello,
Thank you for the great class!
I get the following Failed to compile error:
./src/components/PlaceDetails/PlaceDetails.js
Line 10:19: Expected an assignment or function call and inst…
-
Properties declared with functions in `makeStyles` (e.g. `backgroundColor: props => props.color`) are not overridden by latest styles that override the same property, but without a function. For exa…
-
After updating the post the below error message gets displayed immediately even though the update was successful. The updated post can be seen once the page is refreshed.
Version: Part_6
The erro…
-
## Import Order
it is important to have an order of import for code readability
I propose the order with alphabetical order enforced:
Frontend
1. React + Redux + Functionality Imports
2. Own …
-
Is it already possible to lazy load components using navi?
```
import React, {lazy} from 'react';
import useStyles from './Blocks.styles';
const Paragraph = lazy(() => import('components/Parag…
-
__Expected behavior:__
the class name suffix **should be unique** (by the counter increment).
![same](https://user-images.githubusercontent.com/31385284/109466308-eecd1480-7a97-11eb-927c-738c1954a6a…
-
### Duplicates
- [X] I have searched the existing issues
### Latest version
- [X] I have tested the latest version
### Current behavior 😯
Style overrides made with the [styled](https://…
-
__Describe the bug:__
I'm using my styles like these:
```js
export default (theme) => ({
root: {
position: 'relative',
display: 'inline-flex',
alignItems: 'center',
…