mirror of
https://gitee.com/ant-design/ant-design.git
synced 2024-12-05 05:28:20 +08:00
20 lines
551 B
JavaScript
20 lines
551 B
JavaScript
import React from 'react';
|
|
|
|
export default function BrowserDemo(props) {
|
|
return (
|
|
<article className="window-frame focus">
|
|
<header className="top-bar">
|
|
<div className="controls">
|
|
<div className="control close" />
|
|
<div className="control minify" />
|
|
<div className="control expand" />
|
|
</div>
|
|
<input className="address-bar" defaultValue="http://www.example.com" />
|
|
</header>
|
|
<section className="window-content">
|
|
{props.children}
|
|
</section>
|
|
</article>
|
|
);
|
|
}
|