mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-08-09 21:25:45 +08:00
init: the first public commit for AFFiNE
This commit is contained in:
@@ -0,0 +1 @@
|
||||
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path fill-rule="evenodd" d="M12 10.4a2.9 2.9 0 1 0 0-5.8 2.9 2.9 0 0 0 0 5.8Zm0 1.6a4.5 4.5 0 1 0 0-9 4.5 4.5 0 0 0 0 9ZM10 14.8A5.2 5.2 0 0 0 4.8 20v1H3.2v-1a6.8 6.8 0 0 1 6.8-6.8h4a6.8 6.8 0 0 1 6.8 6.8v1h-1.6v-1a5.2 5.2 0 0 0-5.2-5.2h-4Z" clip-rule="evenodd"/></svg>
|
||||
|
After Width: | Height: | Size: 330 B |
@@ -0,0 +1,21 @@
|
||||
|
||||
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 CollaboratorIconProps extends Omit<SvgIconProps, 'color'> {
|
||||
color?: string
|
||||
}
|
||||
|
||||
export const CollaboratorIcon: FC<CollaboratorIconProps> = ({ color, style, ...props}) => {
|
||||
const propsStyles = {"color": color};
|
||||
const customStyles = {};
|
||||
const styles = {...propsStyles, ...customStyles, ...style}
|
||||
return (
|
||||
<SvgIcon style={styles} {...props}>
|
||||
<path fillRule="evenodd" d="M12 10.4a2.9 2.9 0 1 0 0-5.8 2.9 2.9 0 0 0 0 5.8Zm0 1.6a4.5 4.5 0 1 0 0-9 4.5 4.5 0 0 0 0 9ZM10 14.8A5.2 5.2 0 0 0 4.8 20v1H3.2v-1a6.8 6.8 0 0 1 6.8-6.8h4a6.8 6.8 0 0 1 6.8 6.8v1h-1.6v-1a5.2 5.2 0 0 0-5.2-5.2h-4Z" clipRule="evenodd" />
|
||||
</SvgIcon>
|
||||
)
|
||||
};
|
||||
Reference in New Issue
Block a user