Skip to content

Commit

Permalink
Calendar: import el-button and el-button-group (ElemeFE#17376)
Browse files Browse the repository at this point in the history
  • Loading branch information
masongzhi authored and oleksiikhr committed Jan 13, 2020
1 parent 697d1f2 commit c8c9c53
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
6 changes: 5 additions & 1 deletion packages/calendar/src/main.vue
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,8 @@
<script>
import Locale from 'element-ui/src/mixins/locale';
import fecha from 'element-ui/src/utils/date';
import ElButton from 'element-ui/packages/button';
import ElButtonGroup from 'element-ui/packages/button-group';
import DateTable from './date-table';
import { validateRangeInOneMonth } from 'element-ui/src/utils/date-util';
Expand All @@ -72,7 +74,9 @@ export default {
mixins: [Locale],
components: {
DateTable
DateTable,
ElButton,
ElButtonGroup
},
props: {
Expand Down
2 changes: 2 additions & 0 deletions packages/theme-chalk/src/calendar.scss
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
@import "mixins/mixins";
@import "common/var";
@import "button";
@import "button-group";

@include b(calendar) {
background-color:#fff;
Expand Down

0 comments on commit c8c9c53

Please sign in to comment.