/** * Copyright (c) 2017-present, Facebook, Inc. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ const React = require('react'); const CompLibrary = require('../../core/CompLibrary.js'); const MarkdownBlock = CompLibrary.MarkdownBlock; /* Used to read markdown */ const Container = CompLibrary.Container; const GridBlock = CompLibrary.GridBlock; const siteConfig = require(process.cwd() + '/siteConfig.js'); function imgUrl(img) { return siteConfig.baseUrl + 'img/' + img; } function docUrl(doc, language) { return siteConfig.baseUrl + 'docs/' + (language ? language + '/' : '') + doc; } function pageUrl(page, language) { return siteConfig.baseUrl + (language ? language + '/' : '') + page; } class Button extends React.Component { render() { return (
{this.props.children}
); } } Button.defaultProps = { target: '_self', }; const SplashContainer = props => (
{props.children}
); const Logo = props => (
); const ProjectTitle = props => (

{siteConfig.title} {siteConfig.tagline}

); const PromoSection = props => (
{props.children}
); class HomeSplash extends React.Component { render() { let language = this.props.language || ''; return ( {/* */}
); } } const Block = props => ( ); const Features = props => ( {[ { content: 'Sortable, Row Selection, Cell Editor, Row Expand, Column Filter Pagination etc.', // image: imgUrl('docusaurus.svg'), imageAlign: 'top', title: 'Rich Functionality', }, { content: 'Configurable and customizable table', // image: imgUrl('docusaurus.svg'), imageAlign: 'top', title: 'Customization', }, { content: 'Satisfy for Redux/Mobx or any other state management tool.', // image: imgUrl('docusaurus.svg'), imageAlign: 'top', title: 'Remote', }, ]} ); // const FeatureCallout = props => ( //
//

Feature Callout

// These are features of this project //
// ); const LearnHow = props => ( {[ { content: 'Intuitive to use.
Compatitable for Bootstrap 3 and 4.
Better than legacy react-bootstrap-table2!!
', image: imgUrl('react-bootstrap-table2-sample.png'), imageAlign: 'right', title: 'react-bootstrap-table2', }, ]}
); const TryOut = props => ( {[ { content: 'Talk about trying this out', image: imgUrl('docusaurus.svg'), imageAlign: 'left', title: 'Try it Out', }, ]} ); const Description = props => ( {[ { content: 'This is another description of how this project is useful', image: imgUrl('docusaurus.svg'), imageAlign: 'right', title: 'Description', }, ]} ); const Showcase = props => { if ((siteConfig.users || []).length === 0) { return null; } const showcase = siteConfig.users .filter(user => { return user.pinned; }) .map((user, i) => { return ( ); }); return (

{"Who's Using This?"}

This project is used by all these people

{showcase}
More {siteConfig.title} Users
); }; class Index extends React.Component { render() { let language = this.props.language || ''; return (
{/* */} {/* */}
); } } module.exports = Index;