Пример #1
0
 public override ReactElement Render()
 {
     return(DOM.OL(new OListAttributes {
         ClassName = props.ClassName.ToNullableString()
     },
                   DOM.Li(null, GetLink("Home", props.Navigator.Home(), className: new ClassName("home"))),
                   DOM.Li(null,
                          GetLink("Accommodation", props.Navigator.Accommodation()),
                          DOM.OL(null,
                                 DOM.Li(null, GetLink("B&Bs", props.Navigator.Accommodation(new NonBlankTrimmedString("BedAndBreakfast")))),
                                 DOM.Li(null, GetLink("Hotels", props.Navigator.Accommodation(new NonBlankTrimmedString("Hotels")))),
                                 DOM.Li(null, GetLink("Self Catering", props.Navigator.Accommodation(new NonBlankTrimmedString("SelfCatering"))))
                                 )
                          )
                   ));
 }