mirror of
https://github.com/streamyfin/streamyfin.git
synced 2026-04-29 11:56:38 +01:00
wip
This commit is contained in:
@@ -27,14 +27,18 @@ const BITRATES: Bitrate[] = [
|
||||
},
|
||||
];
|
||||
|
||||
type Props = {
|
||||
interface Props extends React.ComponentProps<typeof View> {
|
||||
onChange: (value: Bitrate) => void;
|
||||
selected: Bitrate;
|
||||
};
|
||||
}
|
||||
|
||||
export const BitrateSelector: React.FC<Props> = ({ onChange, selected }) => {
|
||||
export const BitrateSelector: React.FC<Props> = ({
|
||||
onChange,
|
||||
selected,
|
||||
...props
|
||||
}) => {
|
||||
return (
|
||||
<View className="flex flex-row items-center justify-between">
|
||||
<View className="flex flex-row items-center justify-between" {...props}>
|
||||
<DropdownMenu.Root>
|
||||
<DropdownMenu.Trigger>
|
||||
<View className="flex flex-col mb-2">
|
||||
|
||||
Reference in New Issue
Block a user