mirror of
https://github.com/movie-web/extension.git
synced 2025-09-13 14:03:25 +00:00
Extension styling
This commit is contained in:
@@ -1,9 +1,15 @@
|
||||
import type { ReactNode } from 'react';
|
||||
|
||||
import './Frame.css';
|
||||
|
||||
export interface FrameProps {
|
||||
children?: ReactNode;
|
||||
}
|
||||
|
||||
export function Frame(props: FrameProps) {
|
||||
return <div style={{ width: 300, height: 300 }}>{props.children}</div>;
|
||||
return (
|
||||
<div className="frame" style={{ width: 300, height: 300 }}>
|
||||
{props.children}
|
||||
</div>
|
||||
);
|
||||
}
|
||||
|
Reference in New Issue
Block a user