Press n or j to go to the next uncovered block, b, p or k for the previous block.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 | 1x 1x | import Component from '@ember/component'; import layout from '../../../templates/components/bootstrap/modal/-header'; import { PropTypes } from 'ember-prop-types'; import { BuilderForPropTypes, BuilderForPropDefaults } from 'ember-bootstrap-controls/utils/prop-definition-tools'; export const propDefinitions = { showCloseInHeader: { default: false, description: 'Indicates whether the header has a close button in the top left corner', type: PropTypes.bool, }, }; export default Component.extend({ layout, propTypes: BuilderForPropTypes(propDefinitions), classNames: ['modal-header'], getDefaultProps() { return BuilderForPropDefaults(propDefinitions) }, }); |