mirror of
https://gitee.com/ant-design/ant-design.git
synced 2024-12-02 03:59:01 +08:00
ES6 syntax for demo code
fix antd.notification
This commit is contained in:
parent
dffbda521c
commit
753c01ae18
@ -7,8 +7,7 @@
|
||||
---
|
||||
|
||||
````jsx
|
||||
var Affix = antd.Affix;
|
||||
var Button = antd.Button;
|
||||
import { Affix, Button } from 'antd';
|
||||
|
||||
ReactDOM.render(
|
||||
<Affix>
|
||||
|
@ -7,8 +7,7 @@
|
||||
---
|
||||
|
||||
````jsx
|
||||
var Affix = antd.Affix;
|
||||
var Button = antd.Button;
|
||||
import { Affix, Button } from 'antd';
|
||||
|
||||
ReactDOM.render(
|
||||
<Affix offset={75}>
|
||||
|
@ -7,7 +7,7 @@
|
||||
---
|
||||
|
||||
````jsx
|
||||
var Alert = antd.Alert;
|
||||
import { Alert } from 'antd';
|
||||
|
||||
ReactDOM.render(<Alert message="成功提示的文案" type="success" />
|
||||
, document.getElementById('components-alert-demo-basic'));
|
||||
|
@ -7,9 +7,9 @@
|
||||
---
|
||||
|
||||
````jsx
|
||||
var Alert = antd.Alert;
|
||||
import { Alert } from 'antd';
|
||||
|
||||
var onClose = function(e) {
|
||||
const onClose = function(e) {
|
||||
console.log(e, '我要被关闭啦!');
|
||||
};
|
||||
|
||||
|
@ -7,8 +7,8 @@
|
||||
---
|
||||
|
||||
````jsx
|
||||
var Alert = antd.Alert;
|
||||
var link = <a href="javascript:;">不再提醒</a>
|
||||
import { Alert } from 'antd';
|
||||
const link = <a href="javascript:;">不再提醒</a>;
|
||||
|
||||
ReactDOM.render(
|
||||
<Alert message="消息提示的文案" type="info" closeText={link} />
|
||||
|
@ -7,7 +7,7 @@
|
||||
---
|
||||
|
||||
````jsx
|
||||
var Alert = antd.Alert;
|
||||
import { Alert } from 'antd';
|
||||
|
||||
ReactDOM.render(<div>
|
||||
<Alert message="成功提示的文案"
|
||||
|
@ -7,7 +7,7 @@
|
||||
---
|
||||
|
||||
````jsx
|
||||
var Alert = antd.Alert;
|
||||
import { Alert } from 'antd';
|
||||
|
||||
ReactDOM.render(<div>
|
||||
<Alert message="成功提示的文案" type="success" />
|
||||
|
@ -7,7 +7,7 @@
|
||||
---
|
||||
|
||||
````jsx
|
||||
var Badge = antd.Badge;
|
||||
import { Badge } from 'antd';
|
||||
|
||||
ReactDOM.render(<div>
|
||||
<Badge count="99">
|
||||
|
@ -7,7 +7,7 @@
|
||||
---
|
||||
|
||||
````jsx
|
||||
var Badge = antd.Badge;
|
||||
import { Badge } from 'antd';
|
||||
|
||||
ReactDOM.render(
|
||||
<Badge count="5">
|
||||
|
@ -7,8 +7,7 @@
|
||||
---
|
||||
|
||||
````jsx
|
||||
var Badge = antd.Badge;
|
||||
var Icon = antd.Icon;
|
||||
import { Badge, Icon } from 'antd';
|
||||
|
||||
ReactDOM.render(<div>
|
||||
<Badge dot={true}>
|
||||
|
@ -7,7 +7,7 @@
|
||||
---
|
||||
|
||||
````jsx
|
||||
var Badge = antd.Badge;
|
||||
import { Badge } from 'antd';
|
||||
|
||||
ReactDOM.render(
|
||||
<a href="#">
|
||||
|
@ -7,7 +7,7 @@
|
||||
---
|
||||
|
||||
````jsx
|
||||
var Breadcrumb = require('antd/lib/breadcrumb');
|
||||
import { Breadcrumb } from 'antd';
|
||||
|
||||
ReactDOM.render(
|
||||
<Breadcrumb>
|
||||
|
@ -7,13 +7,11 @@
|
||||
---
|
||||
|
||||
````jsx
|
||||
var ReactRouter = require('react-router');
|
||||
var Router = ReactRouter.Router;
|
||||
var Route = ReactRouter.Route;
|
||||
var Link = ReactRouter.Link;
|
||||
var Breadcrumb = require('antd').Breadcrumb;
|
||||
const ReactRouter = require('react-router');
|
||||
let { Router, Route, Link } = ReactRouter;
|
||||
import { Breadcrumb } from 'antd';
|
||||
|
||||
var Apps = React.createClass({
|
||||
const Apps = React.createClass({
|
||||
render() {
|
||||
return <ul className="app-list">
|
||||
<li><Link to="/apps/1">应用1</Link></li>
|
||||
@ -22,7 +20,7 @@ var Apps = React.createClass({
|
||||
}
|
||||
});
|
||||
|
||||
var Home = React.createClass({
|
||||
const Home = React.createClass({
|
||||
render() {
|
||||
return (<div>
|
||||
<div className="demo-nav">
|
||||
|
@ -7,8 +7,7 @@
|
||||
---
|
||||
|
||||
````jsx
|
||||
var Breadcrumb = require('antd/lib/breadcrumb');
|
||||
var Icon = require('antd').iconfont;
|
||||
import { Breadcrumb, Icon } from 'antd';
|
||||
|
||||
ReactDOM.render(
|
||||
<Breadcrumb>
|
||||
|
@ -11,7 +11,7 @@
|
||||
---
|
||||
|
||||
````jsx
|
||||
var Button = antd.Button;
|
||||
import { Button } from 'antd';
|
||||
|
||||
ReactDOM.render(<div>
|
||||
<Button type="primary">主按钮</Button>
|
||||
|
@ -9,9 +9,7 @@
|
||||
---
|
||||
|
||||
````jsx
|
||||
var Button = antd.Button;
|
||||
var ButtonGroup = antd.ButtonGroup;
|
||||
var Icon = antd.Icon;
|
||||
import { Button, ButtonGroup, Icon } from 'antd';
|
||||
|
||||
ReactDOM.render(<div>
|
||||
<h4>基本组合</h4>
|
||||
@ -31,7 +29,7 @@ ReactDOM.render(<div>
|
||||
<Button>右</Button>
|
||||
</ButtonGroup>
|
||||
|
||||
<h4>带图标按钮组合 </h4>
|
||||
<h4>带图标按钮组合</h4>
|
||||
<ButtonGroup>
|
||||
<Button type="primary">
|
||||
<Icon type="left" />
|
||||
|
@ -7,8 +7,7 @@
|
||||
---
|
||||
|
||||
````jsx
|
||||
var Button = antd.Button;
|
||||
var Icon = antd.Icon;
|
||||
import { Button, Icon } from 'antd';
|
||||
|
||||
ReactDOM.render(<div>
|
||||
<Button type="primary" shape="circle" size="large">
|
||||
|
@ -7,9 +7,9 @@
|
||||
---
|
||||
|
||||
````jsx
|
||||
var Button = antd.Button;
|
||||
import { Button } from 'antd';
|
||||
|
||||
var App = React.createClass({
|
||||
const App = React.createClass({
|
||||
getInitialState() {
|
||||
return {
|
||||
loading: false
|
||||
|
@ -7,8 +7,7 @@
|
||||
---
|
||||
|
||||
````jsx
|
||||
var Button = antd.Button;
|
||||
var Icon = antd.Icon;
|
||||
import { Button, Icon } from 'antd';
|
||||
|
||||
ReactDOM.render(<div>
|
||||
<Button type="primary" shape="circle" size="large">
|
||||
|
@ -9,7 +9,7 @@
|
||||
---
|
||||
|
||||
````jsx
|
||||
var Button = antd.Button;
|
||||
import { Button } from 'antd';
|
||||
|
||||
ReactDOM.render(<div>
|
||||
<Button type="primary" size="large">大号按钮</Button>
|
||||
|
@ -7,7 +7,7 @@
|
||||
---
|
||||
|
||||
````jsx
|
||||
var Button = antd.Button;
|
||||
import { Button } from 'antd';
|
||||
|
||||
ReactDOM.render(<div>
|
||||
<h4>使用 `disabled` 属性</h4>
|
||||
|
@ -7,7 +7,7 @@
|
||||
---
|
||||
|
||||
````jsx
|
||||
var Carousel = antd.Carousel;
|
||||
import { Carousel } from 'antd';
|
||||
|
||||
ReactDOM.render(
|
||||
<Carousel autoplay="true">
|
||||
|
@ -7,7 +7,7 @@
|
||||
---
|
||||
|
||||
````jsx
|
||||
var Carousel = antd.Carousel;
|
||||
import { Carousel } from 'antd';
|
||||
|
||||
ReactDOM.render(
|
||||
<Carousel>
|
||||
|
@ -7,7 +7,7 @@
|
||||
---
|
||||
|
||||
````jsx
|
||||
var Carousel = antd.Carousel;
|
||||
import { Carousel } from 'antd';
|
||||
|
||||
ReactDOM.render(
|
||||
<Carousel effect="fade">
|
||||
|
@ -7,7 +7,7 @@
|
||||
---
|
||||
|
||||
````jsx
|
||||
var Carousel = antd.Carousel;
|
||||
import { Carousel } from 'antd';
|
||||
|
||||
ReactDOM.render(
|
||||
<Carousel vertical="true">
|
||||
|
@ -7,8 +7,9 @@
|
||||
---
|
||||
|
||||
````jsx
|
||||
var Checkbox = antd.Checkbox;
|
||||
var container = document.getElementById('components-checkbox-demo-basic');
|
||||
import { Checkbox } from 'antd';
|
||||
const container = document.getElementById('components-checkbox-demo-basic');
|
||||
|
||||
function onChange(e) {
|
||||
console.log('checked = ' + e.target.checked);
|
||||
}
|
||||
|
@ -7,16 +7,15 @@
|
||||
---
|
||||
|
||||
````jsx
|
||||
var Checkbox = antd.Checkbox;
|
||||
var Button = antd.Button;
|
||||
var container = document.getElementById('components-checkbox-demo-controller');
|
||||
import { Checkbox, Button } from 'antd';
|
||||
const container = document.getElementById('components-checkbox-demo-controller');
|
||||
|
||||
var App = React.createClass({
|
||||
const App = React.createClass({
|
||||
getInitialState() {
|
||||
return {
|
||||
checked: true,
|
||||
disabled: false
|
||||
}
|
||||
};
|
||||
},
|
||||
render() {
|
||||
var label = (this.state.checked ? '选中' : '取消') + '-' +
|
||||
|
@ -7,8 +7,8 @@ checkbox 不可用。
|
||||
---
|
||||
|
||||
````jsx
|
||||
var Checkbox = antd.Checkbox;
|
||||
var container = document.getElementById('components-checkbox-demo-disable');
|
||||
import { Checkbox } from 'antd';
|
||||
const container = document.getElementById('components-checkbox-demo-disable');
|
||||
|
||||
ReactDOM.render(<div>
|
||||
<Checkbox defaultChecked={false} disabled={true}/>
|
||||
|
@ -7,10 +7,10 @@
|
||||
---
|
||||
|
||||
````jsx
|
||||
var Collapse = antd.Collapse;
|
||||
var Panel = Collapse.Panel;
|
||||
import { Collapse } from 'antd';
|
||||
const Panel = Collapse.Panel;
|
||||
|
||||
var text = `
|
||||
const text = `
|
||||
A dog is a type of domesticated animal.
|
||||
Known for its loyalty and faithfulness,
|
||||
it can be found as a welcome guest in many households across the world.
|
||||
|
@ -7,14 +7,14 @@
|
||||
---
|
||||
|
||||
````jsx
|
||||
var Collapse = antd.Collapse;
|
||||
var Panel = Collapse.Panel;
|
||||
import { Collapse } from 'antd';
|
||||
const Panel = Collapse.Panel;
|
||||
|
||||
function callback(key) {
|
||||
console.log(key);
|
||||
}
|
||||
|
||||
var text = `
|
||||
const text = `
|
||||
A dog is a type of domesticated animal.
|
||||
Known for its loyalty and faithfulness,
|
||||
it can be found as a welcome guest in many households across the world.
|
||||
|
@ -7,14 +7,14 @@
|
||||
---
|
||||
|
||||
````jsx
|
||||
var Collapse = antd.Collapse;
|
||||
var Panel = Collapse.Panel;
|
||||
import { Collapse } from 'antd';
|
||||
const Panel = Collapse.Panel;
|
||||
|
||||
function callback(key) {
|
||||
console.log(key);
|
||||
}
|
||||
|
||||
var text = `
|
||||
const text = `
|
||||
A dog is a type of domesticated animal.
|
||||
Known for its loyalty and faithfulness,
|
||||
it can be found as a welcome guest in many households across the world.
|
||||
|
@ -7,7 +7,7 @@
|
||||
---
|
||||
|
||||
````jsx
|
||||
var Datepicker = antd.Datepicker;
|
||||
import { Datepicker } from 'antd';
|
||||
|
||||
ReactDOM.render(
|
||||
<Datepicker defaultValue="2015-12-12" />
|
||||
|
@ -7,7 +7,7 @@
|
||||
---
|
||||
|
||||
````jsx
|
||||
var Datepicker = antd.Datepicker;
|
||||
import { Datepicker } from 'antd';
|
||||
|
||||
ReactDOM.render(
|
||||
<Datepicker defaultValue="2015-06-06" disabled={true} />
|
||||
|
@ -7,7 +7,7 @@
|
||||
---
|
||||
|
||||
````jsx
|
||||
var Datepicker = antd.Datepicker;
|
||||
import { Datepicker } from 'antd';
|
||||
|
||||
ReactDOM.render(
|
||||
<Datepicker defaultValue="2015/01/01" format="yyyy/MM/dd" />
|
||||
|
@ -7,9 +7,9 @@
|
||||
---
|
||||
|
||||
````jsx
|
||||
var Datepicker = antd.Datepicker;
|
||||
import { Datepicker } from 'antd';
|
||||
|
||||
var App = React.createClass({
|
||||
const App = React.createClass({
|
||||
getInitialState() {
|
||||
return {
|
||||
locale: {
|
||||
|
@ -9,8 +9,9 @@
|
||||
---
|
||||
|
||||
````jsx
|
||||
var Datepicker = antd.Datepicker;
|
||||
var disabledDate = function(current, value) {
|
||||
import { Datepicker } from 'antd';
|
||||
|
||||
const disabledDate = function(current, value) {
|
||||
// can not select days after today
|
||||
return current.getTime() > Date.now();
|
||||
};
|
||||
|
@ -7,9 +7,9 @@
|
||||
---
|
||||
|
||||
````jsx
|
||||
var Datepicker = antd.Datepicker;
|
||||
import { Datepicker } from 'antd';
|
||||
|
||||
var Picker = React.createClass({
|
||||
const Picker = React.createClass({
|
||||
handleChange: function(value) {
|
||||
console.log(new Date(value.getTime()));
|
||||
},
|
||||
|
@ -7,7 +7,7 @@
|
||||
---
|
||||
|
||||
````jsx
|
||||
var Datepicker = antd.Datepicker;
|
||||
import { Datepicker } from 'antd';
|
||||
|
||||
ReactDOM.render(
|
||||
<div>
|
||||
|
@ -7,9 +7,9 @@
|
||||
---
|
||||
|
||||
````jsx
|
||||
var Datepicker = antd.Datepicker;
|
||||
import { Datepicker } from 'antd';
|
||||
|
||||
var DateRange = React.createClass({
|
||||
const DateRange = React.createClass({
|
||||
getInitialState() {
|
||||
return {
|
||||
startValue: null,
|
||||
|
@ -7,7 +7,7 @@
|
||||
---
|
||||
|
||||
````jsx
|
||||
var Datepicker = antd.Datepicker;
|
||||
import { Datepicker } from 'antd';
|
||||
|
||||
ReactDOM.render(
|
||||
<Datepicker showTime={true} format="yyyy-MM-dd HH:mm:ss" />
|
||||
|
@ -7,12 +7,9 @@
|
||||
---
|
||||
|
||||
````jsx
|
||||
var Menu = antd.Menu;
|
||||
var Dropdown = antd.Dropdown;
|
||||
var Button = antd.Button;
|
||||
var Icon = antd.Icon;
|
||||
import { Menu, Dropdown, Button, Icon } from 'antd';
|
||||
|
||||
var menu = <Menu>
|
||||
const menu = <Menu>
|
||||
<Menu.Item>
|
||||
<a target="_blank" href="http://www.alipay.com/">第一个菜单项</a>
|
||||
</Menu.Item>
|
||||
|
@ -7,15 +7,12 @@
|
||||
---
|
||||
|
||||
````jsx
|
||||
var Menu = antd.Menu;
|
||||
var Dropdown = antd.Dropdown;
|
||||
var Button = antd.Button;
|
||||
var Icon = antd.Icon;
|
||||
var onSelect = function ({key}){
|
||||
import { Menu, Dropdown, Button, Icon } from 'antd';
|
||||
const onSelect = function ({key}){
|
||||
alert('选中了菜单' + key);
|
||||
};
|
||||
|
||||
var menu = <Menu onSelect={onSelect}>
|
||||
const menu = <Menu onSelect={onSelect}>
|
||||
<Menu.Item key="1">第一个菜单项</Menu.Item>
|
||||
<Menu.Item key="2">第二个菜单项</Menu.Item>
|
||||
<Menu.Item key="3">第三个菜单项</Menu.Item>
|
||||
|
@ -7,12 +7,9 @@
|
||||
---
|
||||
|
||||
````jsx
|
||||
var Menu = antd.Menu;
|
||||
var Dropdown = antd.Dropdown;
|
||||
var Button = antd.Button;
|
||||
var Icon = antd.Icon;
|
||||
import { Menu, Dropdown, Button, Icon } from 'antd';
|
||||
|
||||
var menu = <Menu>
|
||||
const menu = <Menu>
|
||||
<Menu.Item key="0">
|
||||
<a target="_blank" href="http://www.alipay.com/">第一个菜单项</a>
|
||||
</Menu.Item>
|
||||
|
@ -7,12 +7,9 @@
|
||||
---
|
||||
|
||||
````jsx
|
||||
var Menu = antd.Menu;
|
||||
var Dropdown = antd.Dropdown;
|
||||
var Button = antd.Button;
|
||||
var Icon = antd.Icon;
|
||||
import { Menu, Dropdown, Button, Icon } from 'antd';
|
||||
|
||||
var menu = <Menu>
|
||||
const menu = <Menu>
|
||||
<Menu.Item key="0">
|
||||
<a href="http://www.alipay.com/">第一个菜单项</a>
|
||||
</Menu.Item>
|
||||
|
@ -7,7 +7,7 @@
|
||||
---
|
||||
|
||||
````jsx
|
||||
var InputNumber = antd.InputNumber;
|
||||
import { InputNumber } from 'antd';
|
||||
|
||||
function onChange(value) {
|
||||
console.log('changed', value);
|
||||
|
@ -7,8 +7,7 @@
|
||||
---
|
||||
|
||||
````jsx
|
||||
var InputNumber = antd.InputNumber;
|
||||
var Button = antd.Button;
|
||||
import { InputNumber, Button } from 'antd';
|
||||
|
||||
var Test = React.createClass({
|
||||
getInitialState() {
|
||||
|
@ -7,7 +7,7 @@
|
||||
---
|
||||
|
||||
````jsx
|
||||
var InputNumber = antd.InputNumber;
|
||||
import { InputNumber } from 'antd';
|
||||
|
||||
function onChange(value) {
|
||||
console.log('changed', value);
|
||||
|
@ -9,8 +9,7 @@
|
||||
---
|
||||
|
||||
````jsx
|
||||
var Row = antd.Row;
|
||||
var Col = antd.Col;
|
||||
import { Row, Col } from 'antd';
|
||||
|
||||
ReactDOM.render(
|
||||
<div>
|
||||
|
@ -8,8 +8,7 @@ Flex 子元素垂直对齐。
|
||||
---
|
||||
|
||||
````jsx
|
||||
var Row = antd.Row;
|
||||
var Col = antd.Col;
|
||||
import { Row, Col } from 'antd';
|
||||
|
||||
var DemoBox = React.createClass({
|
||||
render() {
|
||||
@ -50,6 +49,3 @@ ReactDOM.render(
|
||||
document.getElementById('components-layout-demo-flex-align')
|
||||
);
|
||||
````
|
||||
|
||||
|
||||
|
||||
|
@ -9,8 +9,7 @@
|
||||
|
||||
|
||||
````jsx
|
||||
var Row = antd.Row;
|
||||
var Col = antd.Col;
|
||||
import { Row, Col } from 'antd';
|
||||
|
||||
ReactDOM.render(
|
||||
<div>
|
||||
@ -23,9 +22,4 @@ ReactDOM.render(
|
||||
</div>,
|
||||
document.getElementById('components-layout-demo-flex-order')
|
||||
);
|
||||
|
||||
````
|
||||
|
||||
|
||||
|
||||
|
||||
|
@ -9,8 +9,7 @@ Flex 布局基础。
|
||||
---
|
||||
|
||||
````jsx
|
||||
var Row = antd.Row;
|
||||
var Col = antd.Col;
|
||||
import { Row, Col } from 'antd';
|
||||
|
||||
ReactDOM.render(
|
||||
<div>
|
||||
|
@ -9,8 +9,7 @@
|
||||
---
|
||||
|
||||
````jsx
|
||||
var Row = antd.Row;
|
||||
var Col = antd.Col;
|
||||
import { Row, Col } from 'antd';
|
||||
|
||||
ReactDOM.render(
|
||||
<div>
|
||||
@ -29,4 +28,3 @@ ReactDOM.render(
|
||||
document.getElementById('components-layout-demo-offset')
|
||||
);
|
||||
````
|
||||
|
||||
|
@ -9,8 +9,7 @@
|
||||
---
|
||||
|
||||
````jsx
|
||||
var Row = antd.Row;
|
||||
var Col = antd.Col;
|
||||
import { Row, Col } from 'antd';
|
||||
|
||||
ReactDOM.render(
|
||||
<div>
|
||||
|
@ -7,11 +7,10 @@
|
||||
---
|
||||
|
||||
````jsx
|
||||
var Menu = antd.Menu;
|
||||
var SubMenu = Menu.SubMenu;
|
||||
var Icon = antd.Icon;
|
||||
import { Menu, Icon } from 'antd';
|
||||
const SubMenu = Menu.SubMenu;
|
||||
|
||||
var App = React.createClass({
|
||||
const App = React.createClass({
|
||||
getInitialState() {
|
||||
return {
|
||||
current: 'mail'
|
||||
@ -40,7 +39,7 @@ var App = React.createClass({
|
||||
<Menu.Item key="alipay">
|
||||
<a href="http://www.alipay.com/" target="_blank">导航四 - 链接</a>
|
||||
</Menu.Item>
|
||||
</Menu>
|
||||
</Menu>;
|
||||
}
|
||||
});
|
||||
|
||||
|
@ -7,9 +7,8 @@
|
||||
---
|
||||
|
||||
````jsx
|
||||
var Menu = antd.Menu;
|
||||
var SubMenu = Menu.SubMenu;
|
||||
var Icon = antd.Icon;
|
||||
import { Menu, Icon } from 'antd';
|
||||
const SubMenu = Menu.SubMenu;
|
||||
|
||||
var Sider = React.createClass({
|
||||
getInitialState() {
|
||||
|
@ -7,9 +7,8 @@
|
||||
---
|
||||
|
||||
````jsx
|
||||
var Menu = antd.Menu;
|
||||
var SubMenu = Menu.SubMenu;
|
||||
var Icon = antd.Icon;
|
||||
import { Menu, Icon } from 'antd';
|
||||
const SubMenu = Menu.SubMenu;
|
||||
|
||||
var Sider = React.createClass({
|
||||
getInitialState() {
|
||||
|
@ -7,10 +7,8 @@
|
||||
---
|
||||
|
||||
````jsx
|
||||
var Menu = antd.Menu;
|
||||
var MenuItem = Menu.Item;
|
||||
var SubMenu = Menu.SubMenu;
|
||||
var Icon = antd.Icon;
|
||||
import { Menu, Icon } from 'antd';
|
||||
const SubMenu = Menu.SubMenu;
|
||||
|
||||
function handleClick(e) {
|
||||
console.log('click', e);
|
||||
@ -18,24 +16,24 @@ function handleClick(e) {
|
||||
|
||||
ReactDOM.render(<Menu onClick={handleClick} style={{width:240}} mode="vertical">
|
||||
<SubMenu key="sub1" title={<span><Icon type="mail" /><span>导航一</span></span>}>
|
||||
<MenuItem key="1">选项1</MenuItem>
|
||||
<MenuItem key="2">选项2</MenuItem>
|
||||
<MenuItem key="3">选项3</MenuItem>
|
||||
<MenuItem key="4">选项4</MenuItem>
|
||||
<Menu.Item key="1">选项1</Menu.Item>
|
||||
<Menu.Item key="2">选项2</Menu.Item>
|
||||
<Menu.Item key="3">选项3</Menu.Item>
|
||||
<Menu.Item key="4">选项4</Menu.Item>
|
||||
</SubMenu>
|
||||
<SubMenu key="sub2" title={<span><Icon type="appstore" /><span>导航二</span></span>}>
|
||||
<MenuItem key="5">选项5</MenuItem>
|
||||
<MenuItem key="6">选项6</MenuItem>
|
||||
<Menu.Item key="5">选项5</Menu.Item>
|
||||
<Menu.Item key="6">选项6</Menu.Item>
|
||||
<SubMenu key="sub3" title="三级导航">
|
||||
<MenuItem key="7">选项7</MenuItem>
|
||||
<MenuItem key="8">选项8</MenuItem>
|
||||
<Menu.Item key="7">选项7</Menu.Item>
|
||||
<Menu.Item key="8">选项8</Menu.Item>
|
||||
</SubMenu>
|
||||
</SubMenu>
|
||||
<SubMenu key="sub4" title={<span><icon type="setting" /><span>导航三</span></span>}>
|
||||
<MenuItem key="9">选项9</MenuItem>
|
||||
<MenuItem key="10">选项10</MenuItem>
|
||||
<MenuItem key="11">选项11</MenuItem>
|
||||
<MenuItem key="12">选项12</MenuItem>
|
||||
<Menu.Item key="9">选项9</Menu.Item>
|
||||
<Menu.Item key="10">选项10</Menu.Item>
|
||||
<Menu.Item key="11">选项11</Menu.Item>
|
||||
<Menu.Item key="12">选项12</Menu.Item>
|
||||
</SubMenu>
|
||||
</Menu>
|
||||
, document.getElementById('components-menu-demo-vertical'));
|
||||
|
@ -7,10 +7,9 @@
|
||||
---
|
||||
|
||||
````jsx
|
||||
var Button = antd.Button;
|
||||
import { message, Button } from 'antd';
|
||||
|
||||
var message = antd.message;
|
||||
var success = function() {
|
||||
const success = function() {
|
||||
message.success('这是一条成功的提示,并将于10秒后消失', 10);
|
||||
};
|
||||
|
||||
|
@ -7,10 +7,9 @@
|
||||
---
|
||||
|
||||
````jsx
|
||||
var Button = antd.Button;
|
||||
import { message, Button } from 'antd';
|
||||
|
||||
var message = antd.message;
|
||||
var error = function() {
|
||||
const error = function() {
|
||||
message.error('这是一条失败的提示这是一条失败的提示这是一条失败的提示');
|
||||
};
|
||||
|
||||
|
@ -7,10 +7,9 @@
|
||||
---
|
||||
|
||||
````jsx
|
||||
var Button = antd.Button;
|
||||
import { message, Button } from 'antd';
|
||||
|
||||
var message = antd.message;
|
||||
var info = function() {
|
||||
const info = function() {
|
||||
message.info('这是一条普通的提醒');
|
||||
};
|
||||
|
||||
|
@ -7,11 +7,10 @@
|
||||
---
|
||||
|
||||
````jsx
|
||||
var Button = antd.Button;
|
||||
import { message, Button } from 'antd';
|
||||
|
||||
var message = antd.message;
|
||||
var success = function() {
|
||||
var hide = message.loading('正在执行中...', 0);
|
||||
const success = function() {
|
||||
let hide = message.loading('正在执行中...', 0);
|
||||
// 异步手动移除
|
||||
setTimeout(hide, 2500);
|
||||
};
|
||||
|
@ -7,10 +7,9 @@
|
||||
---
|
||||
|
||||
````jsx
|
||||
var Button = antd.Button;
|
||||
import { message, Button } from 'antd';
|
||||
|
||||
var message = antd.message;
|
||||
var success = function() {
|
||||
const success = function() {
|
||||
message.success('这是一条成功的提示');
|
||||
};
|
||||
|
||||
|
@ -7,12 +7,11 @@
|
||||
---
|
||||
|
||||
````jsx
|
||||
var Modal = antd.Modal;
|
||||
var Button = antd.Button;
|
||||
import { Modal, Button } from 'antd';
|
||||
|
||||
var ModalText = '对话框的内容';
|
||||
const ModalText = '对话框的内容';
|
||||
|
||||
var Test = React.createClass({
|
||||
const Test = React.createClass({
|
||||
getInitialState() {
|
||||
return {
|
||||
ModalText: '对话框的内容',
|
||||
|
@ -7,10 +7,9 @@
|
||||
---
|
||||
|
||||
````jsx
|
||||
var Modal = antd.Modal;
|
||||
var Button = antd.Button;
|
||||
import { Modal, Button } from 'antd';
|
||||
|
||||
var App = React.createClass({
|
||||
const App = React.createClass({
|
||||
getInitialState() {
|
||||
return { visible: false };
|
||||
},
|
||||
|
@ -7,8 +7,8 @@
|
||||
---
|
||||
|
||||
````jsx
|
||||
var confirm = antd.Modal.confirm;
|
||||
var Button = antd.Button;
|
||||
import { Modal, Button } from 'antd';
|
||||
const confirm = antd.Modal.confirm;
|
||||
|
||||
function showConfirm(){
|
||||
confirm({
|
||||
|
@ -7,8 +7,8 @@
|
||||
---
|
||||
|
||||
````jsx
|
||||
var confirm = antd.Modal.confirm;
|
||||
var Button = antd.Button;
|
||||
import { Modal, Button } from 'antd';
|
||||
const confirm = antd.Modal.confirm;
|
||||
|
||||
function showConfirm(){
|
||||
confirm({
|
||||
|
@ -7,10 +7,9 @@
|
||||
---
|
||||
|
||||
````jsx
|
||||
var Modal = antd.Modal;
|
||||
var Button = antd.Button;
|
||||
import { Modal, Button } from 'antd';
|
||||
|
||||
var Test = React.createClass({
|
||||
const Test = React.createClass({
|
||||
getInitialState: function() {
|
||||
return {
|
||||
loading: false,
|
||||
|
@ -7,8 +7,7 @@
|
||||
---
|
||||
|
||||
````jsx
|
||||
var Modal = antd.Modal;
|
||||
var Button = antd.Button;
|
||||
import { Modal, Button } from 'antd';
|
||||
|
||||
function info() {
|
||||
Modal.info({
|
||||
|
@ -7,10 +7,9 @@
|
||||
---
|
||||
|
||||
````jsx
|
||||
var notification = antd.Notification;
|
||||
var Button = antd.Button;
|
||||
import { Button, notification } from 'antd';
|
||||
|
||||
var openNotification = function() {
|
||||
const openNotification = function() {
|
||||
notification.open({
|
||||
message: "这是标题",
|
||||
description: "这是提示框的文案这是提示框的文案这是提示框的文案这是提示框的文案这是提示框的文案这是提示框的文案这是提示框的文案"
|
||||
@ -18,8 +17,6 @@ var openNotification = function() {
|
||||
};
|
||||
|
||||
ReactDOM.render(
|
||||
<div>
|
||||
<Button type="primary" onClick={openNotification}>打开通知提醒框</Button>
|
||||
</div>,
|
||||
document.getElementById('components-notification-demo-basic'));
|
||||
,document.getElementById('components-notification-demo-basic'));
|
||||
````
|
||||
|
@ -7,11 +7,10 @@
|
||||
---
|
||||
|
||||
````jsx
|
||||
var notification = antd.Notification;
|
||||
var Button = antd.Button;
|
||||
import { Button, notification } from 'antd';
|
||||
|
||||
var openNotification = function() {
|
||||
var args = {
|
||||
const openNotification = function() {
|
||||
const args = {
|
||||
message: "这是标题",
|
||||
description: "这是提示框的文案这是提示框的文案这是提示框的文案这是提示框的文案这是提示框的文案这是提示框的文案这是提示框的文案",
|
||||
duration: 10
|
||||
|
@ -7,15 +7,14 @@
|
||||
---
|
||||
|
||||
````jsx
|
||||
var notification = antd.Notification;
|
||||
var Button = antd.Button;
|
||||
import { Button, notification } from 'antd';
|
||||
|
||||
var close = function() {
|
||||
const close = function() {
|
||||
console.log("我被默认的关闭按钮关闭了!");
|
||||
};
|
||||
|
||||
var openNotification = function() {
|
||||
var args = {
|
||||
const openNotification = function() {
|
||||
const args = {
|
||||
message: "这是标题",
|
||||
description: "这是提示框的文案这是提示框示框的文案这是提示是提示框的文案这是提示框的文案",
|
||||
onClose: close
|
||||
|
@ -7,20 +7,19 @@
|
||||
---
|
||||
|
||||
````jsx
|
||||
var notification = antd.Notification;
|
||||
var Button = antd.Button;
|
||||
import { Button, notification } from 'antd';
|
||||
|
||||
var close = function(){
|
||||
const close = function(){
|
||||
console.log('我被默认的关闭按钮关闭了!');
|
||||
}
|
||||
|
||||
var openNotification = function() {
|
||||
var key='open'+Date.now();
|
||||
var btnClick = function() {
|
||||
const openNotification = function() {
|
||||
const key='open'+Date.now();
|
||||
const btnClick = function() {
|
||||
// 隐藏提醒框
|
||||
notification.close(key);
|
||||
};
|
||||
var btn = <Button type="primary" size="small" onClick={btnClick}>
|
||||
const btn = <Button type="primary" size="small" onClick={btnClick}>
|
||||
自定义关闭按钮并触发回调函数
|
||||
</Button>;
|
||||
notification.open({
|
||||
|
@ -7,10 +7,9 @@
|
||||
---
|
||||
|
||||
````jsx
|
||||
var notification = antd.Notification;
|
||||
var Button = antd.Button;
|
||||
import { Button, notification } from 'antd';
|
||||
|
||||
var openNotificationWithIcon = function(type) {
|
||||
const openNotificationWithIcon = function(type) {
|
||||
return function(){
|
||||
notification[type]({
|
||||
message: "这是标题",
|
||||
|
@ -7,7 +7,7 @@
|
||||
---
|
||||
|
||||
````jsx
|
||||
var Pagination = antd.Pagination;
|
||||
import { Pagination } from 'antd';
|
||||
|
||||
function onChange(page) {
|
||||
console.log(page);
|
||||
|
@ -7,7 +7,7 @@
|
||||
---
|
||||
|
||||
````jsx
|
||||
var Pagination = antd.Pagination;
|
||||
import { Pagination } from 'antd';
|
||||
|
||||
function onChange(page) {
|
||||
console.log(page);
|
||||
|
@ -7,7 +7,7 @@
|
||||
---
|
||||
|
||||
````jsx
|
||||
var Pagination = antd.Pagination;
|
||||
import { Pagination } from 'antd';
|
||||
|
||||
function onChange(page) {
|
||||
console.log(page);
|
||||
|
@ -7,7 +7,7 @@
|
||||
---
|
||||
|
||||
````jsx
|
||||
var Pagination = antd.Pagination;
|
||||
import { Pagination } from 'antd';
|
||||
|
||||
function onChange(page) {
|
||||
console.log(page);
|
||||
|
@ -7,7 +7,7 @@
|
||||
---
|
||||
|
||||
````jsx
|
||||
var Pagination = antd.Pagination;
|
||||
import { Pagination } from 'antd';
|
||||
|
||||
function onChange(page) {
|
||||
console.log(page);
|
||||
|
@ -7,7 +7,7 @@
|
||||
---
|
||||
|
||||
````jsx
|
||||
var Pagination = antd.Pagination;
|
||||
import { Pagination } from 'antd';
|
||||
|
||||
function onChange(page) {
|
||||
console.log(page);
|
||||
|
@ -7,8 +7,7 @@
|
||||
---
|
||||
|
||||
````jsx
|
||||
var Popconfirm = antd.Popconfirm;
|
||||
var message = antd.message;
|
||||
import { Popconfirm, message } from 'antd';
|
||||
|
||||
function confirm() {
|
||||
message.success('点击了确定');
|
||||
|
@ -7,9 +7,9 @@
|
||||
---
|
||||
|
||||
````jsx
|
||||
var Popconfirm = antd.Popconfirm;
|
||||
var message = antd.message;
|
||||
var text = '确定要删除这个任务吗?';
|
||||
import { Popconfirm, message } from 'antd';
|
||||
|
||||
const text = '确定要删除这个任务吗?';
|
||||
|
||||
function confirm() {
|
||||
message.info('点击了确定');
|
||||
|
@ -7,10 +7,9 @@
|
||||
---
|
||||
|
||||
````jsx
|
||||
var Popover = antd.Popover;
|
||||
var Button = antd.Button;
|
||||
import { Popover, Button } from 'antd';
|
||||
|
||||
var content = <div>
|
||||
const content = <div>
|
||||
<p>内容</p>
|
||||
<p>内容</p>
|
||||
</div>;
|
||||
|
@ -7,11 +7,10 @@
|
||||
---
|
||||
|
||||
````jsx
|
||||
var Popover = antd.Popover;
|
||||
var Button = antd.Button;
|
||||
import { Popover, Button } from 'antd';
|
||||
|
||||
var text = <span>标题</span>;
|
||||
var content = <div>
|
||||
const text = <span>标题</span>;
|
||||
const content = <div>
|
||||
<p>内容</p>
|
||||
<p>内容</p>
|
||||
</div>;
|
||||
|
@ -7,10 +7,9 @@
|
||||
---
|
||||
|
||||
````jsx
|
||||
var Popover = antd.Popover;
|
||||
var Button = antd.Button;
|
||||
import { Popover, Button } from 'antd';
|
||||
|
||||
var content = <div>
|
||||
const content = <div>
|
||||
<p>内容</p>
|
||||
<p>内容</p>
|
||||
</div>;
|
||||
|
@ -7,12 +7,10 @@
|
||||
---
|
||||
|
||||
````jsx
|
||||
var ProgressCircle = antd.Progress.Circle;
|
||||
var Button = antd.Button;
|
||||
var ButtonGroup = antd.ButtonGroup;
|
||||
var Icon = antd.Icon;
|
||||
import { Progress, Button, ButtonGroup, Icon } from 'antd';
|
||||
const ProgressCircle = Progress.Circle;
|
||||
|
||||
var MyProgress = React.createClass({
|
||||
const MyProgress = React.createClass({
|
||||
getInitialState() {
|
||||
return {
|
||||
percent: 0
|
||||
|
@ -7,7 +7,8 @@
|
||||
---
|
||||
|
||||
````jsx
|
||||
var ProgressCircle = antd.Progress.Circle;
|
||||
import { Progress } from 'antd';
|
||||
const ProgressCircle = Progress.Circle;
|
||||
|
||||
ReactDOM.render(
|
||||
<div>
|
||||
|
@ -7,7 +7,8 @@
|
||||
---
|
||||
|
||||
````jsx
|
||||
var ProgressCircle = antd.Progress.Circle;
|
||||
import { Progress } from 'antd';
|
||||
const ProgressCircle = Progress.Circle;
|
||||
|
||||
ReactDOM.render(
|
||||
<div>
|
||||
|
@ -7,12 +7,10 @@
|
||||
---
|
||||
|
||||
````jsx
|
||||
var Progress = antd.Progress.Line;
|
||||
var Button = antd.Button;
|
||||
var ButtonGroup = antd.ButtonGroup;
|
||||
var Icon = antd.Icon;
|
||||
import { Progress, Button, ButtonGroup, Icon } from 'antd';
|
||||
const ProgressLine = Progress.Line;
|
||||
|
||||
var MyProgress = React.createClass({
|
||||
const MyProgress = React.createClass({
|
||||
getInitialState() {
|
||||
return {
|
||||
percent: 0
|
||||
@ -34,7 +32,7 @@ var MyProgress = React.createClass({
|
||||
},
|
||||
render() {
|
||||
return <div>
|
||||
<Progress percent={this.state.percent} />
|
||||
<ProgressLine percent={this.state.percent} />
|
||||
<ButtonGroup>
|
||||
<Button type="ghost" onClick={this.decline}>
|
||||
<Icon type="minus" />
|
||||
|
@ -7,14 +7,15 @@
|
||||
---
|
||||
|
||||
````jsx
|
||||
var Progress = antd.Progress.Line;
|
||||
import { Progress } from 'antd';
|
||||
const ProgressLine = Progress.Line;
|
||||
|
||||
ReactDOM.render(
|
||||
<div style={{ width: 170 }}>
|
||||
<Progress percent={30} strokeWidth={5} />
|
||||
<Progress percent={50} strokeWidth={5} status="active" />
|
||||
<Progress percent={70} strokeWidth={5} status="exception" />
|
||||
<Progress percent={100} strokeWidth={5} />
|
||||
<ProgressLine percent={30} strokeWidth={5} />
|
||||
<ProgressLine percent={50} strokeWidth={5} status="active" />
|
||||
<ProgressLine percent={70} strokeWidth={5} status="exception" />
|
||||
<ProgressLine percent={100} strokeWidth={5} />
|
||||
</div>
|
||||
, document.getElementById('components-progress-demo-line-mini'));
|
||||
, document.getElementById('components-progress-demo-line-mini'));
|
||||
````
|
||||
|
@ -7,15 +7,16 @@
|
||||
---
|
||||
|
||||
````jsx
|
||||
var Progress = antd.Progress.Line;
|
||||
import { Progress } from 'antd';
|
||||
const ProgressLine = Progress.Line;
|
||||
|
||||
ReactDOM.render(
|
||||
<div>
|
||||
<Progress percent={30} />
|
||||
<Progress percent={50} status="active" />
|
||||
<Progress percent={70} status="exception" />
|
||||
<Progress percent={100} />
|
||||
<Progress percent={50} showInfo={false} />
|
||||
<ProgressLine percent={30} />
|
||||
<ProgressLine percent={50} status="active" />
|
||||
<ProgressLine percent={70} status="exception" />
|
||||
<ProgressLine percent={100} />
|
||||
<ProgressLine percent={50} showInfo={false} />
|
||||
</div>
|
||||
, document.getElementById('components-progress-demo-line'));
|
||||
, document.getElementById('components-progress-demo-line'));
|
||||
````
|
||||
|
@ -17,7 +17,7 @@
|
||||
|
||||
## API
|
||||
|
||||
## Progress Bar
|
||||
## Progress Line
|
||||
|
||||
| 参数 | 说明 | 类型 | 默认值 |
|
||||
|----------|---------------|----------|-------------|
|
||||
|
@ -7,10 +7,9 @@
|
||||
---
|
||||
|
||||
````jsx
|
||||
var QueueAnim = antd.QueueAnim;
|
||||
var Button = antd.Button;
|
||||
import { QueueAnim, Button } from 'antd';
|
||||
|
||||
var Test = React.createClass({
|
||||
const Test = React.createClass({
|
||||
getInitialState() {
|
||||
return {
|
||||
show: true
|
||||
|
@ -7,10 +7,9 @@
|
||||
---
|
||||
|
||||
````jsx
|
||||
var QueueAnim = antd.QueueAnim;
|
||||
var Button = antd.Button;
|
||||
import { QueueAnim, Button } from 'antd';
|
||||
|
||||
var Test = React.createClass({
|
||||
const Test = React.createClass({
|
||||
getInitialState() {
|
||||
return {
|
||||
show: true,
|
||||
@ -27,7 +26,7 @@ var Test = React.createClass({
|
||||
});
|
||||
},
|
||||
onAdd() {
|
||||
var items = this.state.items;
|
||||
let items = this.state.items;
|
||||
items.push(<li key={Date.now()}></li>);
|
||||
this.setState({
|
||||
show: true,
|
||||
@ -35,7 +34,7 @@ var Test = React.createClass({
|
||||
});
|
||||
},
|
||||
onRemove() {
|
||||
var items = this.state.items;
|
||||
let items = this.state.items;
|
||||
items.splice(items.length - 1, 1);
|
||||
this.setState({
|
||||
show: true,
|
||||
|
@ -7,9 +7,9 @@
|
||||
---
|
||||
|
||||
````jsx
|
||||
var QueueAnim = antd.QueueAnim;
|
||||
var Button = antd.Button;
|
||||
var Test = React.createClass({
|
||||
import { QueueAnim, Button } from 'antd';
|
||||
|
||||
const Test = React.createClass({
|
||||
getInitialState() {
|
||||
return {
|
||||
show: true,
|
||||
|
@ -7,10 +7,9 @@
|
||||
---
|
||||
|
||||
````jsx
|
||||
var QueueAnim = antd.QueueAnim;
|
||||
var Button = antd.Button;
|
||||
import { QueueAnim, Button } from 'antd';
|
||||
|
||||
var Test = React.createClass({
|
||||
const Test = React.createClass({
|
||||
getInitialState() {
|
||||
return {
|
||||
show: true
|
||||
|
@ -7,15 +7,11 @@
|
||||
---
|
||||
|
||||
````jsx
|
||||
var QueueAnim = antd.QueueAnim;
|
||||
var Select = antd.Select;
|
||||
var Option = Select.Option;
|
||||
var Checkbox = antd.Checkbox;
|
||||
var Radio = antd.Radio;
|
||||
var RadioGroup = antd.Radio.Group;
|
||||
var Button = antd.Button;
|
||||
import { QueueAnim, Button, Select, Checkbox, Radio } from 'antd';
|
||||
const Option = Select.Option;
|
||||
const RadioGroup = Radio.Group;
|
||||
|
||||
var Test = React.createClass({
|
||||
const Test = React.createClass({
|
||||
getInitialState() {
|
||||
return {
|
||||
show: true
|
||||
|
@ -7,10 +7,9 @@
|
||||
---
|
||||
|
||||
````jsx
|
||||
var QueueAnim = antd.QueueAnim;
|
||||
var Button = antd.Button;
|
||||
import { QueueAnim, Button } from 'antd';
|
||||
|
||||
var Test = React.createClass({
|
||||
const Test = React.createClass({
|
||||
getInitialState() {
|
||||
return {
|
||||
show: true
|
||||
|
@ -7,17 +7,14 @@ router 组合的进场与出场动画。
|
||||
---
|
||||
|
||||
````jsx
|
||||
var ReactRouter = require('react-router');
|
||||
var Router = ReactRouter.Router;
|
||||
var Route = ReactRouter.Route;
|
||||
var Link = ReactRouter.Link;
|
||||
var QueueAnim = antd.QueueAnim;
|
||||
var Menu = antd.Menu;
|
||||
const ReactRouter = require('react-router');
|
||||
let { Router, Route, Link } = ReactRouter;
|
||||
import { QueueAnim, Menu } from 'antd';
|
||||
|
||||
var App = React.createClass({
|
||||
const App = React.createClass({
|
||||
render() {
|
||||
var key = this.props.location.pathname;
|
||||
var keys = key.replace('/', '') ? [ key.replace('/', '') ] : [ 'home' ];
|
||||
const key = this.props.location.pathname;
|
||||
const keys = key.replace('/', '') ? [ key.replace('/', '') ] : [ 'home' ];
|
||||
return (
|
||||
<div>
|
||||
<Menu style={{marginBottom: 10}} mode="horizontal" selectedKeys={keys}>
|
||||
@ -39,7 +36,7 @@ var App = React.createClass({
|
||||
}
|
||||
});
|
||||
|
||||
var Home = React.createClass({
|
||||
const Home = React.createClass({
|
||||
render() {
|
||||
return (
|
||||
<div className="demo-router-child">
|
||||
@ -71,7 +68,7 @@ var Home = React.createClass({
|
||||
}
|
||||
});
|
||||
|
||||
var Page1 = React.createClass({
|
||||
const Page1 = React.createClass({
|
||||
render() {
|
||||
return (
|
||||
<div className="demo-router-child">
|
||||
@ -99,7 +96,7 @@ var Page1 = React.createClass({
|
||||
}
|
||||
});
|
||||
|
||||
var Page2 = React.createClass({
|
||||
const Page2 = React.createClass({
|
||||
render() {
|
||||
return (
|
||||
<div className="demo-router-child">
|
||||
|
@ -7,7 +7,7 @@
|
||||
---
|
||||
|
||||
````jsx
|
||||
var QueueAnim = antd.QueueAnim;
|
||||
import { QueueAnim } from 'antd';
|
||||
|
||||
ReactDOM.render(
|
||||
<QueueAnim delay={500}>
|
||||
|
@ -7,7 +7,7 @@
|
||||
---
|
||||
|
||||
````jsx
|
||||
var Radio = antd.Radio;
|
||||
import { Radio } from 'antd';
|
||||
|
||||
ReactDOM.render(<Radio>Radio</Radio>
|
||||
, document.getElementById('components-radio-demo-basic'));
|
||||
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue
Block a user