1
0
Fork 0
mirror of https://github.com/jellyfin/jellyfin-web synced 2025-03-30 19:56:21 +00:00

Make parameters optional for components ported to TSX

This commit is contained in:
MrTimscampi 2021-06-18 16:59:54 +02:00
parent d770581c52
commit 69c4aee2b0
7 changed files with 18 additions and 18 deletions

View file

@ -3,7 +3,7 @@ import React, { FunctionComponent, useEffect, useRef, useState } from 'react';
import AlphaPicker from './alphaPicker';
type AlphaPickerProps = {
onAlphaPicked: () => void
onAlphaPicked?: () => void
};
// React compatibility wrapper component for alphaPicker.js