import './Header.scss';
const {IF, NOT} = Store;
export default D.declare('view.block.Header', () => {
    return <header class="page-header">
        {
            [
                'login',
                'main','fields'
            ].map(name=>
                <button type={'button'} onClick={() => store.set('navigation.current', name)}>{name}</button>
            )
        }
        <IF condition={NOT(store.valEqual( 'navigation.current', 'login'))}>
            <b>kkk</b>
        </IF>

    </header>
});
