Posts by Tony Silva • 1 point
1 post
-
-2
votes1
answer23
viewsQ: How do I pass a parameter to an external function from within the STYLED-COMPONENTS using Reactjs with Typescript?
PS. The idea here is not to use the parameter directly in Styled: opacity: ${(props) => props.myArr[0].myOpacity)} . The idea would be: Pass a parameter (myArray) of any component for a…