mirror of
https://github.com/movie-web/extension.git
synced 2025-09-13 09:43:24 +00:00
16 lines
280 B
TypeScript
16 lines
280 B
TypeScript
import type { ReactNode } from 'react';
|
|
|
|
import './Frame.css';
|
|
|
|
export interface FrameProps {
|
|
children?: ReactNode;
|
|
}
|
|
|
|
export function Frame(props: FrameProps) {
|
|
return (
|
|
<div className="frame" style={{ width: 300, height: 300 }}>
|
|
{props.children}
|
|
</div>
|
|
);
|
|
}
|