Skip to content

Commit

Permalink
fix(Checkbox): fix export component name error
Browse files Browse the repository at this point in the history
  • Loading branch information
anlyyao committed Jun 27, 2024
1 parent 80950b5 commit 1d04b1f
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions src/checkbox/index.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import _CheckBox from './checkbox';
import _CheckBoxGroup from './checkbox-group';
import _Checkbox from './checkbox';
import _CheckboxGroup from './checkbox-group';
import { withInstall, WithInstallType } from '../shared';

import './style';
Expand All @@ -10,6 +10,6 @@ export * from './type';
export type CheckboxProps = TdCheckboxProps;
export type CheckboxGroupProps = TdCheckboxGroupProps;

export const CheckBox: WithInstallType<typeof _CheckBox> = withInstall(_CheckBox);
export const CheckboxGroup: WithInstallType<typeof _CheckBoxGroup> = withInstall(_CheckBoxGroup);
export default CheckBox;
export const Checkbox: WithInstallType<typeof _Checkbox> = withInstall(_Checkbox);
export const CheckboxGroup: WithInstallType<typeof _CheckboxGroup> = withInstall(_CheckboxGroup);
export default Checkbox;

0 comments on commit 1d04b1f

Please sign in to comment.