默认情况下,export default class MainLogo extends PureComponent {
render() {
return (
<svg width="500px" height="500px" viewBox="0 0 500 500" version="1.1">
<g stroke="none" strokeWidth="1" fill="none" fillRule="evenodd">
<path d="M389.95983 ...9" fill={this.props.Color} />
<path d="M303.504016,.9639279..." fill={this.props.otherColor} />
</g>
</svg>
);
}
}
MainLogo.defaultProps = {
backgroundColor: "#fff"
};
仅在初始化单个HibernateJpaConfiguration
时应用。
否?
DataSource
如果我创建了多个@Configuration
@ConditionalOnSingleCandidate(DataSource.class)
class HibernateJpaConfiguration extends JpaBaseConfiguration {
}
,该怎么办?如何让它们仍然通过默认的休眠自动配置运行?
DataSources