import React from 'react'; import { getClassName } from '../../helpers/getClassName'; import { classNames } from '../../lib/classNames'; import { usePlatform } from '../../hooks/usePlatform'; import SimpleCell, { SimpleCellProps } from '../SimpleCell/SimpleCell'; export interface CellButtonProps extends SimpleCellProps { mode?: 'primary' | 'danger'; stopPropagation?: boolean; centered?: boolean; } const CellButton: React.FunctionComponent = ({ className, centered, mode, ...restProps }: CellButtonProps) => { const platform = usePlatform(); return ( ); }; CellButton.defaultProps = { mode: 'primary', Component: 'button', centered: false, stopPropagation: true, }; export default CellButton;