mirror of
https://github.com/ant-design/ant-design.git
synced 2024-12-15 17:19:11 +08:00
480cb3cbc3
* fix: remove defaultProps * fix: remove defaultProps * fix: update snap * fix: fix * fix: fix
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;
|