The Basic React Code for an Event In Focus =========================================== .. code-block:: javascript return (
); Props ---------- * Style: Which styling should we us * Header: Summary of the event * Body: The text of the event, as one paragraph * Images: The src/url of the pics we want to display * Currently we only support two, but this will change soon Default CSS ----------- Tinker around with EventInFocus.css The Basic Unique Styling Code for an Event In Focus =================================================== .. code-block:: css const STYLEPROPGOESHEREDiv = { background: '#BACKGROUND EVENT COLOR GOES HERE', border: '2px solid #ffffff' } const STYLEPROPGOESHEREText = { fontFamily: "CUSTOM FONT GOES HERE", color: 'TEXT EVENT COLOR GOES HERE ', marginLeft: 5, fontSize: '1rem', } const STYLEPROPGOESHEREBar = { color: 'BUTTON COLOR FOR BAR GOES HERE', backgroundColor: 'BACKGROUND COLOR FOR BAR GOES HERE', } Then apply these styles in an if statement in EventInFocus.js ---------------------------------------------------------------------- .. code-block:: javascript else if (this.props.style === "STYLE PROP GOES HERE") { return ( ... ) },