mirror of
https://github.com/ant-design/ant-design.git
synced 2024-12-18 03:14:07 +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;
|
||||
step?: number | string;
|
||||
defaultValue?: number;
|
||||
onKeyDown?: React.FormEventHandler<any>;
|
||||
onChange?: (value: number | string | undefined) => void;
|
||||
disabled?: boolean;
|
||||
size?: 'large' | 'small' | 'default';
|
||||
|
@ -74,11 +74,6 @@ module.exports = {
|
||||
'create-react-class': 'preact-compat/lib/create-react-class',
|
||||
'react-router': 'react-router',
|
||||
});
|
||||
} else if (!isDev) {
|
||||
config.externals = Object.assign({}, config.externals, {
|
||||
react: 'React',
|
||||
'react-dom': 'ReactDOM',
|
||||
});
|
||||
}
|
||||
|
||||
if (isDev) {
|
||||
|
@ -126,6 +126,7 @@
|
||||
position: absolute;
|
||||
left: 0;
|
||||
top: 0;
|
||||
height: 16px;
|
||||
}
|
||||
|
||||
.code-expand-icon-show {
|
||||
|
@ -111,12 +111,6 @@
|
||||
<div id="react-content">
|
||||
{{ content | safe }}
|
||||
</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 }}index.js"></script>
|
||||
</body>
|
||||
|
Loading…
Reference in New Issue
Block a user