What I'm trying to do is that the background color inside the box stays colored for 0.5 seconds and then disappears. like When you click the YouTube comment alarm, the background color inside the box disappears.
when first rendering
0.5 second later background color disappear like this
this is my code
const Container = styled.View`
border-bottom-color: lightblue;
`;
const CommentContainer = styled.View`
`;
const SecondCommentCon = styled.View`
`;
const UnserName = styled.Text`
`;
const Label = styled.Text`
`;
const TodoList = ({}) => {
return (
<Container>
<CommentContainer>
<SecondCommentCon>
<UnserName>{yes?.[0]?.User?.nickname}</UnserName>
<Label>{yes?.[0]?.content}</Label>
</SecondCommentCon>
</CommentContainer>
</Container>
)
what code should i add??