/** * A collection of popular layouts and patterns made with CSS (https://csslayout.io) * (c) 2019 - 2020 Nguyen Huu Phuoc */ // tslint:disable:prefer-object-spread import React from 'react'; import { Helmet } from 'react-helmet'; import RelatedPatterns from '../../components/RelatedPatterns'; import Pattern from '../../constants/Pattern'; import DetailsLayout from '../../layouts/DetailsLayout'; import Block from '../../placeholders/Block'; import BrowserFrame from '../../placeholders/BrowserFrame'; import Rectangle from '../../placeholders/Rectangle'; const Details: React.FC<{}> = () => { const numberOfColumns = 10; return (
Try to scroll the main content of table horizontally to see the first column sticks to the left.
{ Array(numberOfColumns).fill(0).map((_, index) => { return ( ); }) } { Array(10).fill(0).map((_, row) => { return ( { Array(numberOfColumns).fill(0).map((__, col) => { return ( ); }) } ); }) }
{ index === 0 ? : }
{ col === 0 ? : }
)} source={`
...
`} />
); }; export default Details;