index.js (572B)
1 /** 2 * React Starter Kit (https://www.reactstarterkit.com/) 3 * 4 * Copyright © 2014-present Kriasoft, LLC. All rights reserved. 5 * 6 * This source code is licensed under the MIT license found in the 7 * LICENSE.txt file in the root directory of this source tree. 8 */ 9 10 import React from 'react'; 11 import Layout from '../../components/Layout'; 12 import Register from './Register'; 13 14 const title = 'New User Registration'; 15 16 export default { 17 18 path: '/register', 19 20 action() { 21 return { 22 title, 23 component: <Layout><Register title={title} /></Layout>, 24 }; 25 }, 26 27 };