feat: new icons (#5412)

This commit is contained in:
zxhlyh
2024-06-20 11:05:08 +08:00
committed by GitHub
parent 0105129fa8
commit 2328ed8ffa
338 changed files with 880 additions and 3669 deletions

View File

@@ -1,11 +1,13 @@
'use client'
import React from 'react'
import { useTranslation } from 'react-i18next'
import {
RiAddLine,
} from '@remixicon/react'
import { useFeatures } from '../hooks'
import type { OnFeaturesChange } from '../types'
import FeatureModal from './feature-modal'
import Button from '@/app/components/base/button'
import { Plus } from '@/app/components/base/icons/src/vender/line/general'
type ChooseFeatureProps = {
onChange?: OnFeaturesChange
@@ -27,7 +29,7 @@ const ChooseFeature = ({
`}
onClick={() => !disabled && setShowFeaturesModal(true)}
>
<Plus className='mr-1 w-4 h-4' />
<RiAddLine className='mr-1 w-4 h-4' />
{t('appDebug.operation.addFeature')}
</Button>
{