mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-02-13 12:55:00 +00:00
opti: style improve of sidebar and topbar #572;
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
// Base abstract feature for all UI components
|
||||
export { Theme, useTheme, withTheme, ThemeProvider } from './theme';
|
||||
export { styled } from './styled';
|
||||
export { styled, keyframes } from './styled';
|
||||
export type { SxProps } from './styled';
|
||||
|
||||
export * from './mui';
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
// eslint-disable-next-line no-restricted-imports
|
||||
import { styled as muiStyled } from '@mui/material/styles';
|
||||
import { styled as muiStyled, keyframes } from '@mui/material/styles';
|
||||
import { ReactHTML, ReactSVG } from 'react';
|
||||
import isPropValid from '@emotion/is-prop-valid';
|
||||
export type { SxProps } from '@mui/system';
|
||||
@@ -71,3 +71,5 @@ export const styled: typeof muiStyled = (
|
||||
options.shouldForwardProp = isValidProp;
|
||||
return muiStyled(component, options);
|
||||
};
|
||||
|
||||
export { keyframes };
|
||||
|
||||
Reference in New Issue
Block a user