mirror of
https://github.com/ant-design/ant-design.git
synced 2024-12-18 11:18:14 +08:00
Merge branch 'master' into antd-3.0
This commit is contained in:
commit
a8e5690805
@ -9,6 +9,7 @@ export interface InputNumberProps {
|
|||||||
value?: number;
|
value?: number;
|
||||||
step?: number | string;
|
step?: number | string;
|
||||||
defaultValue?: number;
|
defaultValue?: number;
|
||||||
|
onKeyDown?: React.FormEventHandler<any>;
|
||||||
onChange?: (value: number | string | undefined) => void;
|
onChange?: (value: number | string | undefined) => void;
|
||||||
disabled?: boolean;
|
disabled?: boolean;
|
||||||
size?: 'large' | 'small' | 'default';
|
size?: 'large' | 'small' | 'default';
|
||||||
|
@ -74,11 +74,6 @@ module.exports = {
|
|||||||
'create-react-class': 'preact-compat/lib/create-react-class',
|
'create-react-class': 'preact-compat/lib/create-react-class',
|
||||||
'react-router': 'react-router',
|
'react-router': 'react-router',
|
||||||
});
|
});
|
||||||
} else if (!isDev) {
|
|
||||||
config.externals = Object.assign({}, config.externals, {
|
|
||||||
react: 'React',
|
|
||||||
'react-dom': 'ReactDOM',
|
|
||||||
});
|
|
||||||
}
|
}
|
||||||
|
|
||||||
if (isDev) {
|
if (isDev) {
|
||||||
|
@ -126,6 +126,7 @@
|
|||||||
position: absolute;
|
position: absolute;
|
||||||
left: 0;
|
left: 0;
|
||||||
top: 0;
|
top: 0;
|
||||||
|
height: 16px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.code-expand-icon-show {
|
.code-expand-icon-show {
|
||||||
|
@ -111,12 +111,6 @@
|
|||||||
<div id="react-content">
|
<div id="react-content">
|
||||||
{{ content | safe }}
|
{{ content | safe }}
|
||||||
</div>
|
</div>
|
||||||
{% if not usePreact %}
|
|
||||||
{% if not isDev %}
|
|
||||||
<script src="https://gw.alipayobjects.com/as/g/component/react/16.0.0/react.production.min.js"></script>
|
|
||||||
<script src="https://gw.alipayobjects.com/as/g/component/react/16.0.0/react-dom.production.min.js"></script>
|
|
||||||
{% endif %}
|
|
||||||
{% endif %}
|
|
||||||
<script src="{{ root }}common.js"></script>
|
<script src="{{ root }}common.js"></script>
|
||||||
<script src="{{ root }}index.js"></script>
|
<script src="{{ root }}index.js"></script>
|
||||||
</body>
|
</body>
|
||||||
|
Loading…
Reference in New Issue
Block a user