예제 #1
0
 public abstract IElement <IElementState> Render(P props, IReduxComponentContext <S, A> redux);
예제 #2
0
 public override IElement <IElementState> Render(EmptyProps props, IReduxComponentContext <StoreState, StoreState> context)
 {
     return(new BackgroundElement(new BackgroundElementProps(new Colour(r: 0.0f, g: 0.0f, b: 0.0f, a: 1.0f)),
                                  context.State.Clicked ? new StretchElement(this.RenderContents(context.State, context.Dispatch)) : this.RenderContents(context.State, context.Dispatch)));
 }