UNPKG

@vonage/vivid-react

Version:

Vivid wrapped for easy React usage & IDE autocomplete support & typescript typings

45 lines (44 loc) 2.36 kB
import React, { ReactNode, SyntheticEvent } from 'react'; /** VwcDataGridRow * For more info on this Vivid element please visit https://vivid.deno.dev/components/data-grid-row * @param {string} gridTemplateColumns - String that gets applied to the the css gridTemplateColumns attribute for the row x **attribute** `grid-template-columns` * @param {DataGridRowTypes} rowType - The type of row **attribute** `row-type` * @param {object | null} rowData - The base data for this row * @param {ColumnDefinition[] | null} columnDefinitions - The column definitions of the row * @param {ViewTemplate | undefined} cellItemTemplate - The template used to render cells in generated rows. * @param {ViewTemplate | undefined} headerCellItemTemplate - The template used to render header cells in generated rows. * @param {number} rowIndex - The index of the row in the parent grid. This is typically set programmatically by the parent grid. * @param {string | null} ariaSelected - Indicates the selected status. * @param {boolean | undefined} selected - Reflects selected state of the row **attribute** `selected` * @param {'host'} _vividAriaBehaviour * @param {string} VIVID_VERSION - The current version of the Vivid library, which is useful for debugging. It can be accessed from any Vivid element via `<el>.constructor.VIVID_VERSION`. * @param {string} componentName - Core component name, without prefix */ declare const VwcDataGridRow: { (props: { children?: ReactNode; slot?: string | undefined; id?: string | undefined; style?: React.CSSProperties | undefined; ref?: React.RefObject<HTMLDivElement> | ((instance: HTMLDivElement | null) => void) | null | undefined; onCellClick?: ((event: SyntheticEvent) => void) | undefined; onRowFocused?: ((event: SyntheticEvent) => void) | undefined; gridTemplateColumns?: string | undefined; rowType?: any; rowData?: any; columnDefinitions?: any; cellItemTemplate?: any; headerCellItemTemplate?: any; rowIndex?: number | undefined; ariaSelected?: string | null | undefined; selected?: any; _vividAriaBehaviour?: any; VIVID_VERSION?: string | undefined; componentName?: string | undefined; }): JSX.Element; displayName: string; }; export default VwcDataGridRow;