import PropTypes from 'prop-types'; export const myTypes = { // ... visibility: PropTypes.oneOf(PlaceholderVisibility) }.
確定! 回上一頁