Вы не можете выбрать более 25 тем Темы должны начинаться с буквы или цифры, могут содержать дефисы(-) и должны содержать не более 35 символов.

Container.ts 521B

1234567891011121314151617181920
  1. import AbstractContainer, { IProps } from '../AbstractContainer';
  2. /**
  3. * Represents a container of React/Web {@link Component} children with a style.
  4. *
  5. * @augments AbstractContainer
  6. */
  7. export default class Container<P extends IProps> extends AbstractContainer<P> {
  8. /**
  9. * Implements React's {@link Component#render()}.
  10. *
  11. * @inheritdoc
  12. * @returns {ReactElement}
  13. */
  14. render() {
  15. const { visible = true } = this.props;
  16. return visible ? super._render('div') : null;
  17. }
  18. }