mirror of
https://github.com/ant-design/ant-design.git
synced 2024-12-16 09:39:10 +08:00
12 lines
254 B
TypeScript
12 lines
254 B
TypeScript
|
import React from 'react';
|
||
|
|
||
|
interface BrowserFrameProps {
|
||
|
children?: React.ReactNode;
|
||
|
}
|
||
|
|
||
|
const BrowserFrame: React.FC<BrowserFrameProps> = ({ children }) => (
|
||
|
<div className="browser-mockup with-url">{children}</div>
|
||
|
);
|
||
|
|
||
|
export default BrowserFrame;
|