Skip to content

Commit

Permalink
feat(core): support more types for dataSource
Browse files Browse the repository at this point in the history
  • Loading branch information
janryWang committed May 26, 2021
1 parent d2e25ef commit 6715555
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions packages/core/src/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -281,11 +281,11 @@ export type FieldPatternTypes =
export type FieldValidator = Validator

export type FieldDataSource = {
label?: string
value?: string
title?: string
key?: string
text?: string
label?: any
value?: any
title?: any
key?: any
text?: any
children?: FieldDataSource
[key: string]: any
}[]
Expand Down

0 comments on commit 6715555

Please sign in to comment.