This commit is contained in:
Manav Rathi
2024-06-03 13:55:39 +05:30
parent 13665d9ff4
commit 010b6e873d

View File

@@ -27,7 +27,14 @@ export const WhatsNew: React.FC<WhatsNewProps> = ({ onClose }) => {
<Dialog open={true} fullScreen={fullScreen}>
<DialogTitle>{"What's new"}</DialogTitle>
<DialogContent>
<DialogContentText>Content</DialogContentText>
<DialogContentText>
<StyledUL>
<li>
The app will remember its position and size when it
is closed, and will reopen the same way.
</li>
</StyledUL>
</DialogContentText>
</DialogContent>
<DialogActions>
<StyledButton
@@ -44,6 +51,11 @@ export const WhatsNew: React.FC<WhatsNewProps> = ({ onClose }) => {
);
};
const StyledUL = styled("ul")`
padding-inline: 1rem;
list-style-type: circle;
`;
const StyledButton = styled(Button)`
/* Show an outline when the button gains keyboard focus, e.g. when the user
tabs to it. */