D
D
daima2018-12-12 12:49:47
JavaScript
daima, 2018-12-12 12:49:47

How to write a tuple on flow?

export const stripes = (arr: Props): React.ReactNode => {

Here Props is an array of arrays, and the 1st element in the nested array is a number, the second is a string, the third is not given:
- true
- true
- false
I don't understand how to write this

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question