var ZeroTierNetwork = React.createClass({ leaveNetwork: function(event) { event.preventDefault(); }, render: function() { return (
{this.props.nwid}        [ {this.props.name} ]
Status
{this.props['status']}
Type
{this.props['type']}
MAC
{this.props['mac']}
MTU
{this.props['mtu']}
Broadcast
{(this.props['broadcastEnabled']) ? 'ENABLED' : 'DISABLED'}
Bridging
{(this.props['bridge']) ? 'ACTIVE' : 'DISABLED'}
Device
{(this.props['portDeviceName']) ? this.props['portDeviceName'] : '(none)'}
Managed IPs
{ this.props['assignedAddresses'].map(function(ipAssignment) { return (
{ipAssignment}
); }) }
); } });