1
0
mirror of synced 2024-12-24 19:54:50 +01:00
bemaniutils/bemani/frontend/static/components/card.react.js

18 lines
448 B
JavaScript
Raw Normal View History

/** @jsx React.DOM */
var Card = createReactClass({
render: function() {
return (
<div className="card">{
this.props.number.substring(0, 4) +
' ' +
this.props.number.substring(4, 8) +
' ' +
this.props.number.substring(8, 12) +
' ' +
this.props.number.substring(12, 16)
}</div>
);
},
});