baseui
Version:
A React Component library implementing the Base design language
44 lines (41 loc) • 1.03 kB
JavaScript
;
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.default = void 0;
var _constants = require("./constants");
/*
Copyright (c) Uber Technologies, Inc.
This source code is licensed under the MIT license found in the
LICENSE file in the root directory of this source tree.
*/
const defaultProps = {
'aria-label': 'Please enter a phone number without the country dial code.',
// @ts-ignore
'aria-describedby': null,
// @ts-ignore
'aria-labelledby': null,
clearable: true,
focusLock: false,
country: {
label: 'United States',
id: 'US',
dialCode: '+1'
},
disabled: false,
error: false,
// @ts-ignore
id: null,
maxDropdownHeight: _constants.DEFAULT_MAX_DROPDOWN_HEIGHT,
maxDropdownWidth: _constants.DEFAULT_MAX_DROPDOWN_WIDTH,
// @ts-ignore
name: null,
onCountryChange: () => {},
onTextChange: () => {},
overrides: {},
positive: false,
required: false,
size: _constants.SIZE.default,
text: ''
};
var _default = exports.default = defaultProps;