You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
16 lines
409 B
16 lines
409 B
type TableOfContentsProps = {
|
|
children: React.ReactNode;
|
|
title: string;
|
|
src: string;
|
|
};
|
|
|
|
export function Video({ children, title, src }: TableOfContentsProps) {
|
|
|
|
return (
|
|
<section className="mt-8 flex w-full flex-col rounded bg-slate-300/50 dark:bg-slate-600/50 sm:w-fit">
|
|
<video controls style={{ width: '960px' }}>
|
|
<source src={src} />
|
|
</video>
|
|
</section>
|
|
);
|
|
}
|
|
|