对于我的生活,我找不到这个值实际设置的位置.它应该指向C:\ Program Files\MSBuild,但在我们的构建框中,它指向C:.我怎么能改变这个?
我在应用程序中使用Material UI。我有以下要测试的有效免责声明文本组件(注意,我在这里使用withStyles HOC):
import React from 'react';
import { object } from 'prop-types';
import { withStyles } from '@material-ui/core/styles';
import { Typography } from '@material-ui/core';
const headerBarHeight = 64;
const styles = () => ({
disclaimer: {
position: 'absolute',
bottom: headerBarHeight,
padding: '0 0 5px 10px'
}
});
const Disclaimer = props => {
const { classes } = props;
return (
<div className={classes.disclaimer}>
<Typography gutterBottom noWrap>
Copyright StaticSphere { new Date().getFullYear() }
</Typography>
</div>
);
};
Disclaimer.propTypes = { …Run Code Online (Sandbox Code Playgroud)