Flesh out payment stuff
This commit is contained in:
parent
b0dcdd6438
commit
acfed861ab
27 changed files with 938 additions and 173 deletions
|
|
@ -19,6 +19,7 @@ interface QuizEditorProps {
|
|||
showSaveButton?: boolean;
|
||||
isSaving?: boolean;
|
||||
defaultConfig?: GameConfig;
|
||||
maxPlayersLimit?: number;
|
||||
}
|
||||
|
||||
export const QuizEditor: React.FC<QuizEditorProps> = ({
|
||||
|
|
@ -30,6 +31,7 @@ export const QuizEditor: React.FC<QuizEditorProps> = ({
|
|||
showSaveButton = true,
|
||||
isSaving,
|
||||
defaultConfig,
|
||||
maxPlayersLimit = 150,
|
||||
}) => {
|
||||
const [quiz, setQuiz] = useState<Quiz>(initialQuiz);
|
||||
const [expandedId, setExpandedId] = useState<string | null>(null);
|
||||
|
|
@ -300,6 +302,7 @@ export const QuizEditor: React.FC<QuizEditorProps> = ({
|
|||
onChange={handleConfigChange}
|
||||
questionCount={quiz.questions.length}
|
||||
compact={false}
|
||||
maxPlayersLimit={maxPlayersLimit}
|
||||
/>
|
||||
</div>
|
||||
)}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue