-
Notifications
You must be signed in to change notification settings - Fork 2
update-mui-design-system #11
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
update-mui-design-system #11
Conversation
|
packages/design-system-mui/components/ButtonWithLoading/styled.tsx
Outdated
Show resolved
Hide resolved
| export const Button = styled(MUIButton)(({ theme }) => ({})) as unknown as FC<ButtonProps> | ||
|
|
||
| export const CircularProgress = styled(MuiCircularProgress)(({ theme }) => ({ | ||
| position: 'absolute', |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
wouldn't be better if we show the loading state besides the children text? Not sure how the design looks like but seems better than overlapping the content
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
you can always have your own loadingChildren to overwrite
| "dependencies": { | ||
| "@emotion/react": "^11.10.0", | ||
| "@emotion/styled": "^11.10.0", | ||
| "@mui/icons-material": "^5.8.4", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
let's not add this until we need
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I am using that
Uh oh!
There was an error while loading. Please reload this page.