Component accepts an object? Declare the object's shape. Prop only accepts a specific list of values? Use oneOf. Array should contain numbers?
確定! 回上一頁