Last change
on this file since 13f1472 was 13f1472, checked in by Danilo <danilo.najkov@…>, 22 months ago |
vip functionallity + menu fields + alergens filtering + google/fb login + email queueing
|
-
Property mode
set to
100644
|
File size:
628 bytes
|
Rev | Line | |
---|
[d76b7ee] | 1 | import {Button} from "antd";
|
---|
| 2 | import React from "react";
|
---|
| 3 |
|
---|
| 4 | export function Header(props) {
|
---|
| 5 | return <div style={{textAlign: "start"}}>
|
---|
| 6 | <span style={{fontWeight: "500", fontSize: "30px", padding: "20px", letterSpacing: "1px"}}>resTools</span>
|
---|
| 7 | <Button type='primary'
|
---|
| 8 | onClick={props.onClickButton}
|
---|
| 9 | style={{fontSize: "15px", float: "right", marginTop: "8px", marginRight: "20px"}}>
|
---|
| 10 | {props.buttonText}
|
---|
| 11 | </Button>
|
---|
[13f1472] | 12 | {props.isVip ? <span style={{color:'orange', float:'right', fontSize:'28px', fontWeight:'bold', marginRight:'10px'}}>VIP</span>:''}
|
---|
[d76b7ee] | 13 | </div>;
|
---|
| 14 | } |
---|
Note:
See
TracBrowser
for help on using the repository browser.