File tree Expand file tree Collapse file tree 7 files changed +12
-15
lines changed
src/shared/components/Table Expand file tree Collapse file tree 7 files changed +12
-15
lines changed Original file line number Diff line number Diff line change @@ -2,7 +2,7 @@ import { Table as TableTk } from '@axa-fr/react-toolkit-all';
22import { ComponentPropsWithoutRef } from 'react' ;
33import Header from '../../Headers/Header' ;
44import { type Tcol } from '../types' ;
5- import Td , { TTdContainer } from './Td' ;
5+ import Td , { type TTdContainer } from './Td' ;
66
77export type TLine = ComponentPropsWithoutRef < typeof TableTk . Tr > & {
88 columns : ( TTdContainer & Tcol & { keyCol : string } ) [ ] ;
Original file line number Diff line number Diff line change 11import { HelpInfo } from '@axa-fr/react-toolkit-all' ;
2- import Th , { TTh } from './Th' ;
3- import { THeader as Theaders } from './type ' ;
2+ import Th , { type TTh } from './Th' ;
3+ import { type THeader } from './types ' ;
44
55export type THeaderProps = TTh &
6- Omit < Theaders , 'key' > & {
6+ Omit < THeader , 'key' > & {
77 scope ?: 'col' | 'row' ;
88 isBlank ?: boolean ;
99 } ;
Original file line number Diff line number Diff line change 1- export { default } from './Header' ;
2- export type { THeaderProps } from './Header' ;
3- export type { THeader } from './type' ;
1+ export { default , type THeaderProps } from './Header' ;
2+ export { type THeader } from './types' ;
Original file line number Diff line number Diff line change 1- import { ReactNode } from 'react' ;
1+ import { type ReactNode } from 'react' ;
22
33export type THeader = {
44 key : string ;
Original file line number Diff line number Diff line change 11import { Table as TableTk } from '@axa-fr/react-toolkit-all' ;
2- import type { ReactNode } from 'react' ;
3- import Header , { THeader } from './Header' ;
4- import { TTh } from './Header/Th' ;
2+ import { type ReactNode } from 'react' ;
3+ import Header , { type THeader } from './Header' ;
4+ import { type TTh } from './Header/Th' ;
55
66export type THeaders = TTh & {
77 headers ?: THeader [ ] ;
Original file line number Diff line number Diff line change 1- export { default } from './Headers' ;
2- export type { THeaders } from './Headers' ;
1+ export { default , type THeaders } from './Headers' ;
Original file line number Diff line number Diff line change @@ -3,8 +3,7 @@ export { default as Line } from './Body/Line';
33export { default as Td } from './Body/Line/Td' ;
44export { default as Headers } from './Headers' ;
55export { default as Header } from './Headers/Header' ;
6- export { default as Th } from './Headers/Header/Th' ;
7- export type { Torder } from './Headers/Header/Th' ;
6+ export { default as Th , type Torder } from './Headers/Header/Th' ;
87export { default } from './Table.container' ;
98export { ASCENDING , DESCENDING , NONE } from './constants' ;
109export { setDisplay , setTextTooltip } from './formatDataTable' ;
You can’t perform that action at this time.
0 commit comments