mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-07-22 12:36:24 +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="m7.434 6.434 1.132 1.132L4.13 12l4.435 4.434-1.132 1.132L1.87 12l5.565-5.566ZM16.566 17.566l-1.132-1.132L19.87 12l-4.435-4.434 1.132-1.132L22.13 12l-5.565 5.566ZM9.333 16 13 8l1.454.667-3.666 8L9.333 16Z" clip-rule="evenodd"/></svg>
|
||||
|
After Width: | Height: | Size: 321 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 CodeIconProps extends Omit<SvgIconProps, 'color'> {
|
||||
color?: string
|
||||
}
|
||||
|
||||
export const CodeIcon: FC<CodeIconProps> = ({ color, style, ...props}) => {
|
||||
const propsStyles = {"color": color};
|
||||
const customStyles = {};
|
||||
const styles = {...propsStyles, ...customStyles, ...style}
|
||||
return (
|
||||
<SvgIcon style={styles} {...props}>
|
||||
<path fillRule="evenodd" d="m7.434 6.434 1.132 1.132L4.13 12l4.435 4.434-1.132 1.132L1.87 12l5.565-5.566ZM16.566 17.566l-1.132-1.132L19.87 12l-4.435-4.434 1.132-1.132L22.13 12l-5.565 5.566ZM9.333 16 13 8l1.454.667-3.666 8L9.333 16Z" clipRule="evenodd" />
|
||||
</SvgIcon>
|
||||
)
|
||||
};
|
||||
Reference in New Issue
Block a user