I see this in facebook's fixed-data-table reactjs ui example code (written in ECMAScript6):
const {Table, Column, Cell} = FixedDataTable;
I used const before, but all the ECMA6 documentation and reactjs that I can find does not explain what the code snippet above exactly does. The syntax doesn't make sense to me, yet it clearly is important because without it I can't use FixedDataTable react class, and the snippet below does not render the UI:
<Table rowHeight={50}
rowsCount={rows.length}
width={500}
height={500}
headerHeight={50}>
<Column header={<Cell>Col 1</Cell>}
cell={<Cell>Column 1 static content</Cell>}
width={200}
/>
</Table>