1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
| import type { ExtractPropTypes } from 'vue';
|
| export const iconProps = {
| customClass: String,
| customStyle: String,
| classPrefix: {
| type: String,
| default: 'oui-icon',
| },
| name: {
| type: String,
| required: true,
| },
| size: {
| type: [String, Number],
| default: 16,
| },
| color: {
| type: String,
| default: '#000000',
| },
| };
|
| export interface IconEmits {
| (e: 'click', event: unknown): void;
| }
|
| export type IconProps = ExtractPropTypes<typeof iconProps>;
|
|