import Dream from "../../Dream";
import { DreamContainer } from "../DreamContainer/DreamContainer";
import { DreamShape } from "../DreamShape/DreamShape";
import { DreamTextField } from "../DreamTextField/DreamTextField";

export class DreamToast extends Dream.RenderContainer {
  render() {
    return (
      <DreamContainer>
        <DreamShape drawData={[0, 0, 460, 130]} alpha={0.8} />
        <DreamTextField
          text={this.props.msg}
          size={28}
          color='#ffffff'
          verticalAlign={FYGE.VERTICAL_ALIGN.MIDDLE}
          textWidth={460}
          textHeight={130}
        />
      </DreamContainer>
    )
  }
}