Skip to content

Commit

Permalink
feat(@uform/react-schema-renderer): improve linkage
Browse files Browse the repository at this point in the history
  • Loading branch information
janryWang committed Dec 23, 2019
1 parent 48eea30 commit 7880e11
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
5 changes: 3 additions & 2 deletions packages/antd/src/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,8 @@ import {
import {
ISchemaFormProps,
IMarkupSchemaFieldProps,
ISchemaFieldComponentProps
ISchemaFieldComponentProps,
FormPathPattern
} from '@uform/react-schema-renderer'
import { PreviewTextConfigProps } from '@uform/react-shared-components'
import { StyledComponent } from 'styled-components'
Expand Down Expand Up @@ -88,5 +89,5 @@ export interface IFormTextBox extends IItemProps {
}

export interface IFormStep extends StepProps {
dataSource: StepItemProps[]
dataSource: Array<StepItemProps & { name: FormPathPattern }>
}
5 changes: 3 additions & 2 deletions packages/next/src/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@ import { StepProps, ItemProps as StepItemProps } from '@alifd/next/types/step'
import {
ISchemaFormProps,
IMarkupSchemaFieldProps,
ISchemaFieldComponentProps
ISchemaFieldComponentProps,
FormPathPattern
} from '@uform/react-schema-renderer'
import { PreviewTextConfigProps } from '@uform/react-shared-components'
import { StyledComponent } from 'styled-components'
Expand Down Expand Up @@ -93,5 +94,5 @@ export interface IFormTextBox extends IItemProps {
}

export interface IFormStep extends StepProps {
dataSource: StepItemProps[]
dataSource: Array<StepItemProps & { name: FormPathPattern }>
}

0 comments on commit 7880e11

Please sign in to comment.