ant-design/site/theme/template/BrowserFrame.tsx
lijianan 480cb3cbc3
fix: remove defaultProps (#37815)
* fix: remove defaultProps

* fix: remove defaultProps

* fix: update snap

* fix: fix

* fix: fix
2022-09-30 15:58:34 +08:00

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;