{"version":3,"file":"useTableHeight.cjs","sources":["../../../../../src/lib/DataTable/tableFeatures/useTableHeight.ts"],"sourcesContent":["export type Props = {\n    tableHeightProp: number | 'full';\n};\n\nexport const useTableHeight = ({tableHeightProp}: Props) => {\n    if (tableHeightProp === 'full') {\n        return '100vh';\n    } else {\n        return `${tableHeightProp}px`;\n    }\n};\n"],"names":["useTableHeight","tableHeightProp"],"mappings":"6FAIO,MAAMA,EAAiB,CAAC,CAAC,gBAAAC,KACxBA,IAAoB,OACb,QAEA,GAAGA,CAAe"}