import React from 'react' ; import { Button } from 'antd' ; import { PlusOutlined } from '@ant-design/icons' ; import styled from 'styled-components' ; const TableData = styled ( 'div' ) `
  padding: 16px;
  display: flex;
  justify-content: center;
  align-items: center;
` ; type Props = { onCreate : ( ) => void ; } ; const NewCollectionCell = ( { onCreate } ) => { return ( < TableData > < Button type = "primary" ghost onClick = { onCreate } > < PlusOutlined /> New Collection < /Button> < /TableData>); } ; export default NewCollectionCell ;