mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-02-12 12:28:42 +00:00
Co-authored-by: himself65 <himself65@outlook.com> Co-authored-by: Peng Xiao <pengxiao@outlook.com>
15 lines
420 B
TypeScript
15 lines
420 B
TypeScript
import type { BreadcrumbsProps } from '@mui/material/Breadcrumbs';
|
|
import MuiBreadcrumbs from '@mui/material/Breadcrumbs';
|
|
import type { ComponentType } from 'react';
|
|
|
|
import { styled } from '../../styles';
|
|
|
|
const StyledMuiBreadcrumbs = styled(MuiBreadcrumbs)(() => {
|
|
return {
|
|
color: 'var(--affine-text-primary-color)',
|
|
};
|
|
});
|
|
|
|
export const Breadcrumbs: ComponentType<BreadcrumbsProps> =
|
|
StyledMuiBreadcrumbs;
|