route example

This commit is contained in:
insanity 2017-07-24 17:40:47 +09:00
parent 1a3e1c7fd3
commit 00ff9a7f94

View File

@ -15,7 +15,7 @@ export type Props = StateProps & DispatchProps;
export interface State { export interface State {
} }
export class TitleBar extends React.Component<any, any> { export class TitleBar extends React.Component<Props, State> {
constructor(props: any, context: any) { constructor(props: any, context: any) {
super(props, context); super(props, context);
@ -42,8 +42,8 @@ export class TitleBar extends React.Component<any, any> {
public render(): JSX.Element { public render(): JSX.Element {
return ( return (
<Menu fluid style={{ 'borderLeft': '0px', 'borderRight': '0px', 'boxShadow': 'none', 'borderRadius': '0' }}> <Menu fluid style={{ 'borderLeft': '0px', 'borderRight': '0px', 'boxShadow': 'none', 'borderRadius': '0' }}>
<Menu.Item name={this.props.title} style={{ width: '250px' }}> <Menu.Item name='TEMP' style={{ width: '250px' }}>
<Header as='h3'>{this.props.title} <Header as='h3'>TEMP
<Header.Subheader> <Header.Subheader>
<Breadcrumb size='mini'> <Breadcrumb size='mini'>
<Breadcrumb.Section link>Home</Breadcrumb.Section> <Breadcrumb.Section link>Home</Breadcrumb.Section>