Skip to content

Commit c35db6b

Browse files
feat(components): add stat
1 parent 52ccab8 commit c35db6b

File tree

3 files changed

+19
-0
lines changed

3 files changed

+19
-0
lines changed

lib/components/index.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@ export * from './progress';
2727
export * from './skeleton';
2828
export * from './slider';
2929
export * from './spacer';
30+
export * from './stat';
3031
export * from './switch';
3132
export * from './tabs';
3233
export * from './text';

lib/components/stat/index.tsx

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
export type {
2+
StatArrowProps,
3+
StatGroupProps,
4+
StatHelpTextProps,
5+
StatLabelProps,
6+
StatNumberProps,
7+
StatProps,
8+
} from './wrapper';
9+
export { Stat, StatArrow, StatGroup, StatHelpText, StatLabel, StatNumber } from './wrapper';

lib/components/stat/wrapper.tsx

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
export type {
2+
StatArrowProps,
3+
StatGroupProps,
4+
StatHelpTextProps,
5+
StatLabelProps,
6+
StatNumberProps,
7+
StatProps,
8+
} from '@chakra-ui/react';
9+
export { Stat, StatArrow, StatGroup, StatHelpText, StatLabel, StatNumber } from '@chakra-ui/react';

0 commit comments

Comments
 (0)