2
0

feat(inputs): Add text options

This commit is contained in:
Baptiste Arnaud
2022-01-06 16:54:23 +01:00
parent eea522f5bd
commit f712c7ad98
16 changed files with 356 additions and 75 deletions

View File

@ -24,6 +24,12 @@ export type TextStep = StepBase & {
export type TextInputStep = StepBase & {
type: StepType.TEXT_INPUT
options?: TextInputOptions
}
export type TextInputOptions = {
labels?: { placeholder?: string; button?: string }
isLong?: boolean
}
export type Target = { blockId: string; stepId?: string }