/* eslint-disable no-unused-vars */ import React from 'react'; import isNullOrUndefined from '@douyinfe/semi-foundation/utils/isNullOrUndefined'; let _id = -1; export interface IconProps { id?: number; component?: React.ReactNode; size?: number; className?: string; type?: string } function Icon(props: IconProps = {}) { const { id: propsId, className, ...rest } = props; let _propsId = propsId; if (isNullOrUndefined(_propsId)) { _id++; _propsId = _id; } const id = `linearGradient-${_propsId}`; return ( ); } export default Icon;