UNPKG

@arche-mc2/arche-controls

Version:

We know that there are a ton of react UI library projects to choose from. Our hope with this one is to provide the next generation of react components that you can use to bootstrap your next project, or as a reference for building a UIKit. Read on to get

23 lines (22 loc) 846 B
import * as React from 'react'; import { Column } from './UpDataGrid'; import { Action } from './UpDataGrid'; export interface UpDataGridCellState { isSelected: boolean; } export declare type UpDataGridCellRenderProps<P extends object = object> = ReturnType<UpDataGridCell['getApi']> & P; declare type RenderCallback = (args: UpDataGridCellRenderProps) => JSX.Element; export interface UpDataGridCellProps { value?: any; column?: Column; children?: RenderCallback | React.ReactNode; render?: RenderCallback; component?: React.ComponentType<UpDataGridCellProps>; actions?: Array<Action>; } export default class UpDataGridCell extends React.Component<UpDataGridCellProps, UpDataGridCellState> { constructor(props: any, context: any); private getApi; render(): JSX.Element; } export {};