Skip to content

This line with fill-none make icon no color on RN 0.82.1. and the fill prop has no effect #3372

@JosephPoplar

Description

@JosephPoplar

base: 'text-typography-950 fill-none pointer-events-none',

Demo

const ChevronDownIcon = createIcon({
	Root: Svg,
	viewBox: '0 0 1024 1024',
	path: (
		<>
			<Path d='M677.717333 396.544L512 561.92 346.282667 396.544a42.581333 42.581333 0 0 0-60.202667 60.202667l195.754667 195.754666a42.666667 42.666667 0 0 0 60.330666 0l195.754667-195.754666a42.538667 42.538667 0 0 0-60.16-60.16z' />
		</>
	)
});
ChevronDownIcon.displayName = 'ChevronDownIcon';


const Main = () => {
	return (
		<View style={{ flex: 1 , alignItems: 'center' ,justifyContent: 'center' }}>
			<Icon as={ChevronDownIcon} fill='#000000'/>
		</View>
	);
};

export default Main;

React Native 0.82.1
@gluestack-ui/core 3.0.2
@gluestack-ui/utils 3.0.3

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    Status

    No status

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions