radio-group-props.js 434 B

123456789101112131415161718192021222324
  1. const props = {
  2. disabled: {
  3. type: Boolean,
  4. value: undefined,
  5. },
  6. name: {
  7. type: String,
  8. value: '',
  9. },
  10. options: {
  11. type: Array,
  12. },
  13. value: {
  14. type: String,
  15. optionalTypes: [Number, Boolean],
  16. value: null,
  17. },
  18. defaultValue: {
  19. type: String,
  20. optionalTypes: [Number, Boolean],
  21. value: false,
  22. },
  23. };
  24. export default props;