content: import React from 'react';
  import { ContainLeft } from '../../../helper/comps';
  import StarMaker from './starmaker';
  
  class Galaxy extends React.Component {
    style = {
      default: { width: 300 },
      onFocus: { borderBottom: '1px solid green' },
      onError: { borderBottom: '1px solid red' }
    };
    check = newValue => newValue < 10;
    format = value => `${value} $`;
    componentWillMount() {
      document.body.className = 'galaxy';
    }
  
    componentWillUnmount() {
      document.body.className = '';
    }
    render() {
      return (
        <div className="wrap">
          <div>
            <ContainLeft style={{ alignItems: 'center' }}>
              <StarMaker />
            </ContainLeft>
          </div>
        </div>
      );
    }
  }
  
  export default Galaxy;
  