mirror of
https://github.com/vercel/ai-elements.git
synced 2026-09-14 19:48:26 +08:00
Update video.tsx
This commit is contained in:
@@ -4,7 +4,7 @@ import ReactPlayer from "react-player";
|
||||
type VideoProps = ComponentProps<typeof ReactPlayer>;
|
||||
|
||||
export const Video = (props: VideoProps) => (
|
||||
<div className="relative mb-6 aspect-video w-full overflow-hidden rounded-lg bg-black">
|
||||
<div className="not-prose relative mb-6 aspect-video w-full overflow-hidden rounded-lg bg-black">
|
||||
<ReactPlayer
|
||||
{...props}
|
||||
className="absolute inset-0"
|
||||
|
||||
Reference in New Issue
Block a user