Skip to content

Commit

Permalink
Merge pull request #89 from AElf-devops/feature/doc-upload
Browse files Browse the repository at this point in the history
feat: suggestion icon done
  • Loading branch information
aelf-lxy authored Mar 25, 2024
2 parents 22fcc6d + 51d49cf commit b5be9f7
Show file tree
Hide file tree
Showing 13 changed files with 170 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
import * as React from 'react';

import { AelfIcon } from '../../icon/AelfIcon';
import AelfSVGComponent from '../../svgs/suggestion/add-circle.svg';
import { IconProps } from '../../type';

const componentName = 'AddCircleOutlined';
export const AddCircleOutlined = React.forwardRef<HTMLSpanElement, IconProps>((props, ref) => {
return (
<AelfIcon component={AelfSVGComponent} componentName={componentName} ref={ref} {...props} />
);
});
AddCircleOutlined.displayName = componentName;
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
import * as React from 'react';

import { AelfIcon } from '../../icon/AelfIcon';
import AelfSVGComponent from '../../svgs/suggestion/check-circle.svg';
import { IconProps } from '../../type';

const componentName = 'CheckCircleOutlined';
export const CheckCircleOutlined = React.forwardRef<HTMLSpanElement, IconProps>((props, ref) => {
return (
<AelfIcon component={AelfSVGComponent} componentName={componentName} ref={ref} {...props} />
);
});
CheckCircleOutlined.displayName = componentName;
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
import * as React from 'react';

import { AelfIcon } from '../../icon/AelfIcon';
import AelfSVGComponent from '../../svgs/suggestion/circle.svg';
import { IconProps } from '../../type';

const componentName = 'CircleOutlined';
export const CircleOutlined = React.forwardRef<HTMLSpanElement, IconProps>((props, ref) => {
return (
<AelfIcon component={AelfSVGComponent} componentName={componentName} ref={ref} {...props} />
);
});
CircleOutlined.displayName = componentName;
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
import * as React from 'react';

import { AelfIcon } from '../../icon/AelfIcon';
import AelfSVGComponent from '../../svgs/suggestion/close-circle.svg';
import { IconProps } from '../../type';

const componentName = 'CloseCircleOutlined';
export const CloseCircleOutlined = React.forwardRef<HTMLSpanElement, IconProps>((props, ref) => {
return (
<AelfIcon component={AelfSVGComponent} componentName={componentName} ref={ref} {...props} />
);
});
CloseCircleOutlined.displayName = componentName;
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
import * as React from 'react';

import { AelfIcon } from '../../icon/AelfIcon';
import AelfSVGComponent from '../../svgs/suggestion/close.svg';
import { IconProps } from '../../type';

const componentName = 'CloseOutlined';
export const CloseOutlined = React.forwardRef<HTMLSpanElement, IconProps>((props, ref) => {
return (
<AelfIcon component={AelfSVGComponent} componentName={componentName} ref={ref} {...props} />
);
});
CloseOutlined.displayName = componentName;
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
import * as React from 'react';

import { AelfIcon } from '../../icon/AelfIcon';
import AelfSVGComponent from '../../svgs/suggestion/exclamation-circle.svg';
import { IconProps } from '../../type';

const componentName = 'ExclamationCircleOutlined';
export const ExclamationCircleOutlined = React.forwardRef<HTMLSpanElement, IconProps>(
(props, ref) => {
return (
<AelfIcon component={AelfSVGComponent} componentName={componentName} ref={ref} {...props} />
);
},
);
ExclamationCircleOutlined.displayName = componentName;
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
import * as React from 'react';

import { AelfIcon } from '../../icon/AelfIcon';
import AelfSVGComponent from '../../svgs/suggestion/info-circle.svg';
import { IconProps } from '../../type';

const componentName = 'InfoCircleOutlined';
export const InfoCircleOutlined = React.forwardRef<HTMLSpanElement, IconProps>((props, ref) => {
return (
<AelfIcon component={AelfSVGComponent} componentName={componentName} ref={ref} {...props} />
);
});
InfoCircleOutlined.displayName = componentName;
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
import * as React from 'react';

import { AelfIcon } from '../../icon/AelfIcon';
import AelfSVGComponent from '../../svgs/suggestion/minus-circle.svg';
import { IconProps } from '../../type';

const componentName = 'MinusCircleOutlined';
export const MinusCircleOutlined = React.forwardRef<HTMLSpanElement, IconProps>((props, ref) => {
return (
<AelfIcon component={AelfSVGComponent} componentName={componentName} ref={ref} {...props} />
);
});
MinusCircleOutlined.displayName = componentName;
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
import * as React from 'react';

import { AelfIcon } from '../../icon/AelfIcon';
import AelfSVGComponent from '../../svgs/suggestion/more-circle.svg';
import { IconProps } from '../../type';

const componentName = 'MoreCircleOutlined';
export const MoreCircleOutlined = React.forwardRef<HTMLSpanElement, IconProps>((props, ref) => {
return (
<AelfIcon component={AelfSVGComponent} componentName={componentName} ref={ref} {...props} />
);
});
MoreCircleOutlined.displayName = componentName;
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
import * as React from 'react';

import { AelfIcon } from '../../icon/AelfIcon';
import AelfSVGComponent from '../../svgs/suggestion/question-circle.svg';
import { IconProps } from '../../type';

const componentName = 'QuestionCircleOutlined';
export const QuestionCircleOutlined = React.forwardRef<HTMLSpanElement, IconProps>((props, ref) => {
return (
<AelfIcon component={AelfSVGComponent} componentName={componentName} ref={ref} {...props} />
);
});
QuestionCircleOutlined.displayName = componentName;
13 changes: 13 additions & 0 deletions packages/internal-icons/src/components/suggestion/StopOutlined.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
import * as React from 'react';

import { AelfIcon } from '../../icon/AelfIcon';
import AelfSVGComponent from '../../svgs/suggestion/stop.svg';
import { IconProps } from '../../type';

const componentName = 'StopOutlined';
export const StopOutlined = React.forwardRef<HTMLSpanElement, IconProps>((props, ref) => {
return (
<AelfIcon component={AelfSVGComponent} componentName={componentName} ref={ref} {...props} />
);
});
StopOutlined.displayName = componentName;
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
import * as React from 'react';

import { AelfIcon } from '../../icon/AelfIcon';
import AelfSVGComponent from '../../svgs/suggestion/time-circle.svg';
import { IconProps } from '../../type';

const componentName = 'TimeCircleOutlined';
export const TimeCircleOutlined = React.forwardRef<HTMLSpanElement, IconProps>((props, ref) => {
return (
<AelfIcon component={AelfSVGComponent} componentName={componentName} ref={ref} {...props} />
);
});
TimeCircleOutlined.displayName = componentName;
12 changes: 12 additions & 0 deletions packages/internal-icons/src/components/suggestion/index.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,15 @@
export * from './AddOutlined';
export * from './MinusOutlined';
export * from './AddCircleOutlined';
export * from './CheckCircleOutlined';
export * from './CheckOutlined';
export * from './CircleOutlined';
export * from './CloseCircleOutlined';
export * from './CloseOutlined';
export * from './ExclamationCircleOutlined';
export * from './InfoCircleOutlined';
export * from './MinusCircleOutlined';
export * from './MoreCircleOutlined';
export * from './QuestionCircleOutlined';
export * from './StopOutlined';
export * from './TimeCircleOutlined';

0 comments on commit b5be9f7

Please sign in to comment.