@devsisters/dwds-react
Advanced tools
Comparing version 1.0.1 to 1.0.2
@@ -5,3 +5,3 @@ import * as React from 'react'; | ||
export * from '@devsisters/dwds-icon'; | ||
import { RowData } from '@tanstack/react-table'; | ||
import { BuiltInSortingFn, RowData } from '@tanstack/react-table'; | ||
@@ -13,2 +13,4 @@ interface PaginationProps { | ||
count: number; | ||
type?: 'basic' | 'input'; | ||
className?: string; | ||
} | ||
@@ -36,2 +38,3 @@ declare function Pagination(props: PaginationProps): JSX.Element; | ||
iconType?: IconType; | ||
ref?: React.Ref<HTMLButtonElement>; | ||
} | ||
@@ -46,2 +49,4 @@ declare function Button(props: ButtonProps): JSX.Element; | ||
size?: 'small' | 'medium'; | ||
labelDirection?: 'left' | 'right'; | ||
label?: string; | ||
} | ||
@@ -233,2 +238,4 @@ declare function Switch(props: SwitchProps): JSX.Element; | ||
value?: string; | ||
maxLength?: number; | ||
ref?: React__default.Ref<HTMLInputElement>; | ||
onReset?: VoidFunction; | ||
@@ -248,2 +255,3 @@ onChange?: ChangeEventHandler<HTMLInputElement>; | ||
subLabel?: string; | ||
ref?: React__default.Ref<HTMLInputElement>; | ||
onReset?: VoidFunction; | ||
@@ -257,2 +265,4 @@ onChange?: ChangeEventHandler<HTMLInputElement>; | ||
value?: string; | ||
maxLength?: number; | ||
ref?: React__default.Ref<HTMLInputElement>; | ||
onReset?: VoidFunction; | ||
@@ -341,2 +351,3 @@ onChange?: ChangeEventHandler<HTMLInputElement>; | ||
value: string; | ||
ref?: React.Ref<HTMLInputElement>; | ||
} | ||
@@ -384,2 +395,4 @@ declare function Radio(props: RadioProps): JSX.Element; | ||
style?: string | React.CSSProperties; | ||
render?: (value: any) => React.ReactNode; | ||
sortingFunction?: ((a: any, b: any) => number) | BuiltInSortingFn; | ||
} | ||
@@ -397,2 +410,4 @@ interface DataType { | ||
fixedFirstColumn?: boolean; | ||
pagination?: boolean; | ||
sortable?: boolean; | ||
} | ||
@@ -399,0 +414,0 @@ declare function DataTable(props: DataTableProps): JSX.Element; |
{ | ||
"name": "@devsisters/dwds-react", | ||
"version": "1.0.1", | ||
"version": "1.0.2", | ||
"main": "./dist/index.js", | ||
@@ -5,0 +5,0 @@ "module": "./dist/index.mjs", |
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
1139056
28451
111