Sha256: 2364f2a5c87d2fa19e6f85afabd84da29724b8efde3957000676bd95b93b1131
Contents?: true
Size: 359 Bytes
Versions: 1
Compression:
Stored size: 359 Bytes
Contents
var React = require('react'), Link = require('react-router').Link; export default React.createClass({ displayName: 'HostLink', hostId() { return this.props.data.split(':')[2]; }, render() { return ( <Link to="host" params={{id: this.hostId}}> {this.hostId()} </Link> ); } });
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
conjur-asset-ui-1.6.0 | app/src/components/host/host_link.js |