TAU Components > ReactJS example
Example
Example of TAU integration with React JS.

Implementation
The addition to the application complies with the rules for Web Components.
import React from 'react';
import './assets/js/spin.js';
import './assets/css/spin.css';
import './assets/css/custom-spin.css';
class Spin extends React.Component {
render() {
return (<tau-spin class="default-spin"
min="1902"
max="2050"
value="2002"
loop="enabled"
roll-height="custom"
item-height="50"
momentum-level="1"
duration="500">
</tau-spin>
)}
}
export default Spin;
Licensed under MIT License by Samsung Electronics Co., Ltd. © 2020 ver 0.1