mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-02-12 04:18:54 +00:00
22 lines
681 B
TypeScript
22 lines
681 B
TypeScript
|
|
import { FC } from 'react';
|
|
// eslint-disable-next-line no-restricted-imports
|
|
import { SvgIcon } from '@mui/material';
|
|
// eslint-disable-next-line no-restricted-imports
|
|
import type { SvgIconProps } from '@mui/material';
|
|
|
|
export interface PageInPageTreeIconProps extends Omit<SvgIconProps, 'color'> {
|
|
color?: string
|
|
}
|
|
|
|
export const PageInPageTreeIcon: FC<PageInPageTreeIconProps> = ({ color, style, ...props}) => {
|
|
const propsStyles = {"color": color};
|
|
const customStyles = {};
|
|
const styles = {...propsStyles, ...customStyles, ...style}
|
|
return (
|
|
<SvgIcon style={styles} {...props}>
|
|
<circle cx={12} cy={12} r={2.5} />
|
|
</SvgIcon>
|
|
)
|
|
};
|