您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

ConferenceInfoContainer.js 471B

123456789101112131415161718192021222324
  1. /* @flow */
  2. import React from 'react';
  3. type Props = {
  4. /**
  5. * The children components.
  6. */
  7. children: React$Node,
  8. /**
  9. * Whether this conference info container should be visible or not.
  10. */
  11. visible: boolean
  12. }
  13. export default ({ visible, children }: Props) => (
  14. <div className = { `subject${visible ? ' visible' : ''}` }>
  15. <div className = { 'subject-info-container' }>
  16. {children}
  17. </div>
  18. </div>
  19. );