owncast/web/types/config-section.ts
2021-01-24 13:05:43 -08:00

15 lines
274 B
TypeScript

// TS types for elements on the Config pages
export interface TextFieldProps {
handleResetValue: ({ fieldName }) => void;
fieldName: string;
initialValues: any;
type: string;
}
export interface UpdateArgs {
fieldName: string;
value: string;
path?: string;
}