-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(core): edit theme editor 调整主题编辑器
- Loading branch information
1 parent
7399e35
commit b185340
Showing
11 changed files
with
131 additions
and
192 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,42 +1,22 @@ | ||
import { XNode as VNode } from '../types' | ||
import { Props as PopupProps } from '../popup/api' | ||
|
||
export type Slots = { | ||
/* | ||
* Default slot of the radio. | ||
*/ | ||
default: () => any | ||
/* | ||
* Content of the radio. | ||
*/ | ||
content: () => any | ||
} | ||
export type Slots = {} | ||
|
||
export type Emits = { | ||
/* | ||
* Click action. | ||
*/ | ||
change: [color: string] | ||
} | ||
export type Emits = {} | ||
|
||
export type Props = { | ||
/* | ||
* Show eyedropper or not. | ||
*/ | ||
dropper?: boolean | ||
/* | ||
* Click action. | ||
* Maximum value. | ||
*/ | ||
onClick?: (checked: boolean) => void | ||
max?: number | ||
/* | ||
* Default slot of the radio. | ||
* Minimum value. | ||
*/ | ||
default?: string | VNode | ||
min?: number | ||
/* | ||
* Value of radio. | ||
* Continuous transmission the properties for the `Popup` component. | ||
*/ | ||
value?: boolean | ||
popupProps?: PopupProps | ||
} | ||
|
||
export default { | ||
dropper: false | ||
} as Props | ||
export default {} as Props |
Oops, something went wrong.