This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import React, { Component } from "react"; | |
| import { Formik } from "formik"; | |
| import "./styles.css"; | |
| export default class App extends Component { | |
| state = { | |
| data: { | |
| name: "Test" | |
| } | |
| }; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| class Media extends React.Component { | |
| ... | |
| onClick = () => { | |
| this.props.onUpdateMedia({ | |
| value: "Test" | |
| }) | |
| } | |
| render() { | |
| const {media} = this.props |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| using System; | |
| using UnityEngine; | |
| public class WeatherSystem : MonoBehaviour | |
| { | |
| [Serializable] | |
| public class Season | |
| { | |
| public float duration; | |
| public Color lightColor; |