feat(compo):确定组件的样式如何定义。

This commit is contained in:
徐涛 2024-07-11 22:48:00 +08:00
parent 5f1bd3550a
commit 2fa0f6a283

View File

@ -1,15 +1,15 @@
import { css } from "@emotion/react";
import styled from "@emotion/styled";
const Handler = styled.div(
({ theme }) => css`
position: fixed;
top: 0;
left: 0;
right: 0;
height: ${theme.spacings.xxs * 24}px;
z-index: 1;
`
const Handler = styled.div(({ theme }) =>
css({
position: "fixed",
top: 0,
left: 0,
right: 0,
height: theme.spacings.xxs * 24,
zIndex: 1,
})
);
export function WindowMoveHandler() {