mirror of
https://github.com/ikun0014/lx-music-mobile.git
synced 2025-07-05 15:38:56 +08:00
艹
This commit is contained in:
parent
7de91c84f8
commit
b871f99bcd
4
.github/actions/setup/action.yml
vendored
4
.github/actions/setup/action.yml
vendored
@ -33,4 +33,6 @@ runs:
|
|||||||
|
|
||||||
- name: Install dependencies
|
- name: Install dependencies
|
||||||
shell: bash
|
shell: bash
|
||||||
run: npm ci
|
run: |
|
||||||
|
npm ci
|
||||||
|
npm i react-native-vector-icons
|
||||||
|
@ -5,27 +5,9 @@ import { memo, type ComponentProps } from 'react'
|
|||||||
import { useTextShadow, useTheme } from '@/store/theme/hook'
|
import { useTextShadow, useTheme } from '@/store/theme/hook'
|
||||||
import { StyleSheet, type StyleProp, type TextStyle } from 'react-native'
|
import { StyleSheet, type StyleProp, type TextStyle } from 'react-native'
|
||||||
|
|
||||||
// import IconAntDesign from 'react-native-vector-icons/AntDesign'
|
|
||||||
// import IconEntypo from 'react-native-vector-icons/Entypo'
|
|
||||||
// import IconEvilIcons from 'react-native-vector-icons/EvilIcons'
|
|
||||||
// import IconFeather from 'react-native-vector-icons/Feather'
|
|
||||||
// import IconFontAwesome from 'react-native-vector-icons/FontAwesome'
|
|
||||||
// import IconFontAwesome5 from 'react-native-vector-icons/FontAwesome5'
|
|
||||||
// import IconFontisto from 'react-native-vector-icons/Fontisto'
|
|
||||||
// import IconFoundation from 'react-native-vector-icons/Foundation'
|
|
||||||
// import IconIonicons from 'react-native-vector-icons/Ionicons'
|
|
||||||
// import IconMaterialIcons from 'react-native-vector-icons/MaterialIcons'
|
|
||||||
// import IconMaterialCommunityIcons from 'react-native-vector-icons/MaterialCommunityIcons'
|
|
||||||
// import IconOcticons from 'react-native-vector-icons/Octicons'
|
|
||||||
// import IconZocial from 'react-native-vector-icons/Zocial'
|
|
||||||
// import IconSimpleLineIcons from 'react-native-vector-icons/SimpleLineIcons'
|
|
||||||
|
|
||||||
|
|
||||||
const IcoMoon = createIconSetFromIcoMoon(icoMoonConfig)
|
const IcoMoon = createIconSetFromIcoMoon(icoMoonConfig)
|
||||||
|
|
||||||
|
|
||||||
// https://oblador.github.io/react-native-vector-icons/
|
|
||||||
|
|
||||||
type IconType = ReturnType<typeof createIconSetFromIcoMoon>
|
type IconType = ReturnType<typeof createIconSetFromIcoMoon>
|
||||||
|
|
||||||
interface IconProps extends Omit<ComponentProps<IconType>, 'style'> {
|
interface IconProps extends Omit<ComponentProps<IconType>, 'style'> {
|
||||||
@ -51,21 +33,3 @@ export const Icon = memo(({ size = 15, rawSize, color, style, ...props }: IconPr
|
|||||||
/>
|
/>
|
||||||
)
|
)
|
||||||
})
|
})
|
||||||
|
|
||||||
|
|
||||||
export {
|
|
||||||
// IconAntDesign,
|
|
||||||
// IconEntypo,
|
|
||||||
// IconEvilIcons,
|
|
||||||
// IconFeather,
|
|
||||||
// IconFontAwesome,
|
|
||||||
// IconFontAwesome5,
|
|
||||||
// IconFontisto,
|
|
||||||
// IconFoundation,
|
|
||||||
// IconIonicons,
|
|
||||||
// IconMaterialIcons,
|
|
||||||
// IconMaterialCommunityIcons,
|
|
||||||
// IconOcticons,
|
|
||||||
// IconZocial,
|
|
||||||
// IconSimpleLineIcons,
|
|
||||||
}
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user