add textarea field for custom css (#113)

* add textarea field for custom css

* Prettified Code!

Co-authored-by: gingervitis <gingervitis@users.noreply.github.com>
This commit is contained in:
gingervitis
2021-04-12 00:07:08 -07:00
committed by GitHub
parent 810a8a7e3f
commit 0efc09bb72
6 changed files with 144 additions and 15 deletions

View File

@ -4,12 +4,13 @@ import React, { useState, useEffect } from 'react';
import PropTypes from 'prop-types';
import { STATUS, fetchData, FETCH_INTERVAL, SERVER_CONFIG } from './apis';
import { ConfigDetails, UpdateArgs, ExternalAction } from '../types/config-section';
import { ConfigDetails, UpdateArgs } from '../types/config-section';
import { DEFAULT_VARIANT_STATE } from './config-constants';
export const initialServerConfigState: ConfigDetails = {
streamKey: '',
instanceDetails: {
customStyles: '',
extraPageContent: '',
logo: '',
name: '',
@ -17,9 +18,9 @@ export const initialServerConfigState: ConfigDetails = {
socialHandles: [],
streamTitle: '',
summary: '',
welcomeMessage: '',
tags: [],
title: '',
welcomeMessage: '',
},
ffmpegPath: '',
rtmpServerPort: '',