Skip to content

Commit

Permalink
fix(typescript): provide .d.ts files at the root
Browse files Browse the repository at this point in the history
  • Loading branch information
tay1orjones committed Nov 11, 2022
1 parent 06fdbdb commit 773f664
Show file tree
Hide file tree
Showing 7 changed files with 12 additions and 11 deletions.
3 changes: 2 additions & 1 deletion packages/react/src/components/Button/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,5 @@
*/

export { default as ButtonSkeleton } from './Button.Skeleton';
export default from './Button';
import Button from './Button';
export default Button;
3 changes: 2 additions & 1 deletion packages/react/src/components/ButtonSet/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,5 @@
* LICENSE file in the root directory of this source tree.
*/

export default from './ButtonSet';
import ButtonSet from './ButtonSet';
export default ButtonSet;
4 changes: 2 additions & 2 deletions packages/react/src/components/ComboBox/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,5 @@
* This source code is licensed under the Apache-2.0 license found in the
* LICENSE file in the root directory of this source tree.
*/

export default from './ComboBox';
import ComboBox from './ComboBox';
export default ComboBox;
3 changes: 2 additions & 1 deletion packages/react/src/components/DatePicker/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,5 @@
* LICENSE file in the root directory of this source tree.
*/
export { default as DatePickerSkeleton } from './DatePicker.Skeleton';
export default from './DatePicker';
import DatePicker from './DatePicker';
export default DatePicker;
5 changes: 2 additions & 3 deletions packages/react/src/components/FluidComboBox/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
* This source code is licensed under the Apache-2.0 license found in the
* LICENSE file in the root directory of this source tree.
*/

export default from './FluidComboBox';
export FluidComboBox from './FluidComboBox';
import FluidComboBox from './FluidComboBox';
export default FluidComboBox;
export { default as FluidComboBoxSkeleton } from './FluidComboBox.Skeleton';
5 changes: 2 additions & 3 deletions packages/react/src/components/FluidDatePicker/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
* LICENSE file in the root directory of this source tree.
*/

export default from './FluidDatePicker';
export FluidDatePicker from './FluidDatePicker';

import FluidDatePicker from './FluidDatePicker';
export default FluidDatePicker;
export { default as FluidDatePickerSkeleton } from './FluidDatePicker.Skeleton';
File renamed without changes.

0 comments on commit 773f664

Please sign in to comment.