render()

in bindings/jupyter-modules/jupyter-manifold/src/manifold.js [23:38]


  render() {
    const {data, width, height, mapboxAccessToken} = this.props;
    const [valid] = validateInputData(data, true);
    if (!data || !valid) {
      return <div />;
    }
    return (
      <Manifold
        getState={manifoldGetState}
        width={width}
        height={height}
        mapboxToken={mapboxAccessToken}
        theme={THEME}
      />
    );
  }