add react example and config