Skip to content

Commit

Permalink
feat(react): export DefaultPropsProvider and useDefaultProps
Browse files Browse the repository at this point in the history
  • Loading branch information
cheton committed Dec 4, 2024
1 parent 7c20fcf commit 02fbe3e
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
4 changes: 4 additions & 0 deletions packages/react/__tests__/index.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,10 @@ test('should match expected exports', () => {
'Calendar',
'DatePicker',

// default-props
'DefaultPropsProvider',
'useDefaultProps',

// divider
'Divider',

Expand Down
1 change: 1 addition & 0 deletions packages/react/src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ export * from './color-mode';
export * from './color-style';
export * from './css-baseline';
export * from './date-pickers';
export * from './default-props';
export * from './divider';
export * from './drawer';
export * from './flex';
Expand Down

0 comments on commit 02fbe3e

Please sign in to comment.