controls.tsx 688 B

123456789101112131415161718192021
  1. /**
  2. * Copyright (c) 2019 mol* contributors, licensed under MIT, See LICENSE file for more info.
  3. *
  4. * @author David Sehnal <david.sehnal@gmail.com>
  5. */
  6. import * as React from 'react';
  7. import { PluginUIComponent } from 'mol-plugin/ui/base';
  8. import { CurrentObject } from 'mol-plugin/ui/plugin';
  9. import { AnimationControls } from 'mol-plugin/ui/state/animation';
  10. import { CameraSnapshots } from 'mol-plugin/ui/camera';
  11. export class ControlsWrapper extends PluginUIComponent {
  12. render() {
  13. return <div className='msp-scrollable-container msp-right-controls'>
  14. <CurrentObject />
  15. <AnimationControls />
  16. <CameraSnapshots />
  17. </div>;
  18. }
  19. }