mirror of
https://github.com/ant-design/ant-design.git
synced 2024-12-16 01:29:11 +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;
|