Replacing Components
import BR from '@blueeast/bluerain-os';
const CustomLogo = props => {
return (
<div>/* custom component code */</div>
)
}
BR.Components.replace('Logo', CustomLogo);BR.Components.set('Logo', Logo, withCurrentUser, withRouter);
BR.Components.replace('Logo', CustomLogo);import BR from '@blueeast/bluerain-os';
const Logo = BR.Components.get('Logo');
const CustomHeader = props => {
return (
<div>
<Logo custom />
</div>
)
}Last updated