Skip to content

Commit

Permalink
chore: export table constant (#95)
Browse files Browse the repository at this point in the history
Co-authored-by: dev-redo <[email protected]>
  • Loading branch information
dev-redo and dev-redo committed Jul 4, 2024
1 parent 8f64909 commit 34e944c
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 6 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"author": "Corca <[email protected]>",
"description": "Design System for Corca, Inc.",
"private": false,
"version": "0.0.27",
"version": "0.0.28",
"type": "module",
"packageManager": "[email protected]",
"main": "dist/index.js",
Expand Down
4 changes: 1 addition & 3 deletions src/components/Table/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,7 @@ import { Tr, TrProps } from './Tr';

const Table = { Container: TableContainer, Thead, Th, Tbody, Tr, Td } as const;

export default Table;

export { FIXED_TH_WIDTH, TABLE_TH_STYLE };
export { Table, FIXED_TH_WIDTH, TABLE_TH_STYLE };
export type {
FixedCellType,
TdSizeType,
Expand Down
2 changes: 1 addition & 1 deletion src/components/index.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
export { default as Icon } from './Icon';
export { default as Table } from './Table';
export * from './Table';
export { default as DatePicker } from './DatePicker';
export * from './Badge';
export * from './BottomBar';
Expand Down
2 changes: 1 addition & 1 deletion src/stories/Table.stories.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import styled from '@emotion/styled';

import { B1, Badge, Checkbox, Radio, Select, Switch } from '../components';
import Icon from '../components/Icon';
import Table from '../components/Table';
import { Table } from '../components/Table';
import { type TdSizeType } from '../components/Table/Td';
import { FIXED_TH_WIDTH, type ThSizeType } from '../components/Table/Th';

Expand Down

0 comments on commit 34e944c

Please sign in to comment.