Added handling of keyboard focus to UserSettingsModal and its children

Этот коммит содержится в:
hmhealey
2015-10-30 17:26:39 -04:00
родитель e56d21a920
Коммит 02b9414e0f
5 изменённых файлов: 51 добавлений и 12 удалений

Просмотреть файл

@@ -56,6 +56,7 @@ export default class UserSettings extends React.Component {
activeSection={this.props.activeSection}
updateSection={this.props.updateSection}
updateTab={this.props.updateTab}
setEnforceFocus={this.props.setEnforceFocus}
/>
</div>
);
@@ -77,6 +78,7 @@ export default class UserSettings extends React.Component {
activeSection={this.props.activeSection}
updateSection={this.props.updateSection}
updateTab={this.props.updateTab}
setEnforceFocus={this.props.setEnforceFocus}
setRequireConfirm={this.props.setRequireConfirm}
/>
</div>
@@ -134,5 +136,6 @@ UserSettings.propTypes = {
activeSection: React.PropTypes.string,
updateSection: React.PropTypes.func,
updateTab: React.PropTypes.func,
setEnforceFocus: React.PropTypes.func.isRequired,
setRequireConfirm: React.PropTypes.func.isRequired
};