Lint all files

This commit is contained in:
jeffvli
2023-07-01 19:10:05 -07:00
parent 22af76b4d6
commit 30e52ebb54
334 changed files with 76519 additions and 75932 deletions
@@ -4,19 +4,19 @@ import styled from 'styled-components';
import { WindowControls } from '../../window-controls';
interface TitlebarProps {
children?: ReactNode;
children?: ReactNode;
}
const TitlebarContainer = styled.div`
display: flex;
flex-direction: row;
align-items: center;
justify-content: space-between;
color: var(--titlebar-fg);
display: flex;
flex-direction: row;
align-items: center;
justify-content: space-between;
color: var(--titlebar-fg);
button {
-webkit-app-region: no-drag;
}
button {
-webkit-app-region: no-drag;
}
`;
// const Left = styled.div`
@@ -37,27 +37,27 @@ const TitlebarContainer = styled.div`
// `;
const Right = styled.div`
display: flex;
flex: 1/3;
justify-content: center;
height: 100%;
display: flex;
flex: 1/3;
justify-content: center;
height: 100%;
`;
export const Titlebar = ({ children }: TitlebarProps) => {
return (
<>
<TitlebarContainer>
<Right>
{children}
<Group spacing="xs">
<WindowControls />
</Group>
</Right>
</TitlebarContainer>
</>
);
return (
<>
<TitlebarContainer>
<Right>
{children}
<Group spacing="xs">
<WindowControls />
</Group>
</Right>
</TitlebarContainer>
</>
);
};
Titlebar.defaultProps = {
children: undefined,
children: undefined,
};