move example to separate file
move example to separate file
use react