UNPKG

@combine-labs/combine-polaris

Version:

Combine Lab's product component library. Forked from Shopify's Polaris.

25 lines (24 loc) 955 B
import * as React from 'react'; import { WithAppProviderProps } from '../../components/AppProvider'; import { SortDirection } from '../DataTable'; export declare type CombinedProps = Props & WithAppProviderProps; export interface Props { testID?: string; height?: number; content?: React.ReactNode; contentType?: string; fixed?: boolean; truncate?: boolean; presentational?: boolean; header?: boolean; total?: boolean; footer?: boolean; sorted?: boolean; sortable?: boolean; sortDirection?: SortDirection; defaultSortDirection?: SortDirection; onSort?(): void; } declare function Cell({ height, content, contentType, fixed, truncate, presentational, header, total, footer, sorted, sortable, sortDirection, defaultSortDirection, polaris: { intl: { translate }, }, onSort, }: CombinedProps): JSX.Element; declare const _default: React.ComponentClass<Props> & typeof Cell; export default _default;