You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

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. );