grep-components
Advanced tools
Comparing version 0.0.58 to 0.0.59
import * as React from "react"; | ||
import { ITableColumn } from "../GrepTable/GrepTable"; | ||
export interface ICurriculum { | ||
id: number; | ||
code: string; | ||
import { IGrepTableProps } from "../GrepTable/GrepTable"; | ||
interface CurriculumListProps extends IGrepTableProps { | ||
title: string; | ||
statusText: string; | ||
lastModified: string; | ||
} | ||
interface CurriculumListProps { | ||
title: string; | ||
curriculums: ICurriculum[]; | ||
columns: Array<ITableColumn<ICurriculum>>; | ||
onCurriculumClick: (args: number) => void; | ||
} | ||
declare const _default: React.ComponentType<CurriculumListProps>; | ||
export default _default; |
@@ -1,2 +0,7 @@ | ||
import { ICurriculum } from "./CurriculumTable"; | ||
export declare const curriculums: ICurriculum[]; | ||
export declare const curriculums: { | ||
id: number; | ||
code: string; | ||
title: string; | ||
statusText: string; | ||
lastModified: string; | ||
}[]; |
@@ -12,3 +12,3 @@ import * as React from "react"; | ||
} | ||
interface Props { | ||
export interface IGrepTableProps { | ||
data: ITableData[]; | ||
@@ -23,4 +23,6 @@ columns: Array<ITableColumn<any>>; | ||
onRowClick?: (id: number) => any; | ||
getTooltip?: (id: number) => string; | ||
onContextIdChanged?: (id: number) => void; | ||
} | ||
declare const _default: React.ComponentType<Props>; | ||
declare const _default: React.ComponentType<IGrepTableProps>; | ||
export default _default; |
import { ITableColumn } from "./GrepTable"; | ||
import { ICurriculum } from "../CurriculumTable"; | ||
interface ICurriculum { | ||
id: number; | ||
code: string; | ||
title: string; | ||
statusText: string; | ||
lastModified: string; | ||
} | ||
export declare const tableColumns: Array<ITableColumn<ICurriculum>>; | ||
export declare const tableData: ICurriculum[]; | ||
export {}; |
{ | ||
"name": "grep-components", | ||
"version": "0.0.58", | ||
"version": "0.0.59", | ||
"description": "Grep komponentbibliotek", | ||
@@ -5,0 +5,0 @@ "main": "dist/index.js", |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
5752528
51105
303