@nlxai/touchpoint-ui 1.0.5-alpha.5 → 1.0.5-alpha.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/docs/.nojekyll ADDED
@@ -0,0 +1 @@
1
+ TypeDoc added this file to prevent GitHub Pages from using Jekyll. You can turn off this behavior by setting the `githubPages` option to false.
package/docs/README.md ADDED
@@ -0,0 +1,367 @@
1
+ # @nlxai/touchpoint-ui
2
+
3
+ ## Namespaces
4
+
5
+ - [Icons](modules/Icons.md)
6
+
7
+ ## Interfaces
8
+
9
+ - [CustomCardProps](interfaces/CustomCardProps.md)
10
+ - [CustomCardRowProps](interfaces/CustomCardRowProps.md)
11
+ - [DateInputProps](interfaces/DateInputProps.md)
12
+ - [IconButtonProps](interfaces/IconButtonProps.md)
13
+ - [TextButtonProps](interfaces/TextButtonProps.md)
14
+ - [TouchpointInstance](interfaces/TouchpointInstance.md)
15
+ - [Theme](interfaces/Theme.md)
16
+ - [TouchpointConfiguration](interfaces/TouchpointConfiguration.md)
17
+
18
+ ## Type Aliases
19
+
20
+ ### IconButtonType
21
+
22
+ Ƭ **IconButtonType**: ``"main"`` \| ``"ghost"`` \| ``"activated"`` \| ``"coverup"`` \| ``"error"`` \| ``"overlay"``
23
+
24
+ Represents the different types of icon buttons available in the application.
25
+
26
+ - `main`: The primary icon button.
27
+ - `ghost`: A transparent or less prominent icon button.
28
+ - `activated`: An icon button that indicates an active state.
29
+ - `coverup`: An icon button used to cover up or mask something.
30
+ - `overlay`: An icon button that appears over other content.
31
+
32
+ #### Defined in
33
+
34
+ [packages/touchpoint-ui/src/components/ui/IconButton.tsx:16](https://github.com/nlxai/sdk/blob/41670fecbb2747388825d4729cd709dc718a3a0c/packages/touchpoint-ui/src/components/ui/IconButton.tsx#L16)
35
+
36
+ ___
37
+
38
+ ### WindowSize
39
+
40
+ Ƭ **WindowSize**: ``"half"`` \| ``"full"``
41
+
42
+ Window size configuration
43
+
44
+ #### Defined in
45
+
46
+ [packages/touchpoint-ui/src/types.ts:7](https://github.com/nlxai/sdk/blob/41670fecbb2747388825d4729cd709dc718a3a0c/packages/touchpoint-ui/src/types.ts#L7)
47
+
48
+ ___
49
+
50
+ ### ColorMode
51
+
52
+ Ƭ **ColorMode**: ``"light"`` \| ``"dark"``
53
+
54
+ Color mode configuration (light/dark modes)
55
+
56
+ #### Defined in
57
+
58
+ [packages/touchpoint-ui/src/types.ts:12](https://github.com/nlxai/sdk/blob/41670fecbb2747388825d4729cd709dc718a3a0c/packages/touchpoint-ui/src/types.ts#L12)
59
+
60
+ ___
61
+
62
+ ### CustomModalityComponent
63
+
64
+ Ƭ **CustomModalityComponent**\<`Data`\>: `FC`\<\{ `data`: `Data` ; `conversationHandler`: `ConversationHandler` ; `enabled`: `boolean` }\>
65
+
66
+ Custom Modalities allow rendering of rich components from nodes.
67
+ See: https://docs.studio.nlx.ai/build/resources/modalities
68
+
69
+ #### Type parameters
70
+
71
+ | Name |
72
+ | :------ |
73
+ | `Data` |
74
+
75
+ #### Defined in
76
+
77
+ [packages/touchpoint-ui/src/types.ts:36](https://github.com/nlxai/sdk/blob/41670fecbb2747388825d4729cd709dc718a3a0c/packages/touchpoint-ui/src/types.ts#L36)
78
+
79
+ ___
80
+
81
+ ### InitializeConversation
82
+
83
+ Ƭ **InitializeConversation**: (`handler`: `ConversationHandler`) => `void`
84
+
85
+ Custom conversation init method. Defaults to sending the welcome intent
86
+
87
+ #### Type declaration
88
+
89
+ ▸ (`handler`): `void`
90
+
91
+ ##### Parameters
92
+
93
+ | Name | Type | Description |
94
+ | :------ | :------ | :------ |
95
+ | `handler` | `ConversationHandler` | the conversation handler. |
96
+
97
+ ##### Returns
98
+
99
+ `void`
100
+
101
+ #### Defined in
102
+
103
+ [packages/touchpoint-ui/src/types.ts:169](https://github.com/nlxai/sdk/blob/41670fecbb2747388825d4729cd709dc718a3a0c/packages/touchpoint-ui/src/types.ts#L169)
104
+
105
+ ## Functions
106
+
107
+ ### Carousel
108
+
109
+ ▸ **Carousel**(`props`, `deprecatedLegacyContext?`): `ReactNode`
110
+
111
+ #### Parameters
112
+
113
+ | Name | Type | Description |
114
+ | :------ | :------ | :------ |
115
+ | `props` | `Object` | - |
116
+ | `props.children` | `ReactNode` | - |
117
+ | `deprecatedLegacyContext?` | `any` | **`Deprecated`** **`See`** [React Docs](https://legacy.reactjs.org/docs/legacy-context.html#referencing-context-in-lifecycle-methods) |
118
+
119
+ #### Returns
120
+
121
+ `ReactNode`
122
+
123
+ #### Defined in
124
+
125
+ [packages/touchpoint-ui/src/components/ui/Carousel.tsx:5](https://github.com/nlxai/sdk/blob/41670fecbb2747388825d4729cd709dc718a3a0c/packages/touchpoint-ui/src/components/ui/Carousel.tsx#L5)
126
+
127
+ ___
128
+
129
+ ### CustomCard
130
+
131
+ ▸ **CustomCard**(`props`, `deprecatedLegacyContext?`): `ReactNode`
132
+
133
+ #### Parameters
134
+
135
+ | Name | Type | Description |
136
+ | :------ | :------ | :------ |
137
+ | `props` | [`CustomCardProps`](interfaces/CustomCardProps.md) | - |
138
+ | `deprecatedLegacyContext?` | `any` | **`Deprecated`** **`See`** [React Docs](https://legacy.reactjs.org/docs/legacy-context.html#referencing-context-in-lifecycle-methods) |
139
+
140
+ #### Returns
141
+
142
+ `ReactNode`
143
+
144
+ #### Defined in
145
+
146
+ [packages/touchpoint-ui/src/components/ui/CustomCard.tsx:25](https://github.com/nlxai/sdk/blob/41670fecbb2747388825d4729cd709dc718a3a0c/packages/touchpoint-ui/src/components/ui/CustomCard.tsx#L25)
147
+
148
+ ___
149
+
150
+ ### CustomCardImageRow
151
+
152
+ ▸ **CustomCardImageRow**(`props`, `deprecatedLegacyContext?`): `ReactNode`
153
+
154
+ #### Parameters
155
+
156
+ | Name | Type | Description |
157
+ | :------ | :------ | :------ |
158
+ | `props` | `Object` | - |
159
+ | `props.src` | `string` | - |
160
+ | `props.alt?` | `string` | - |
161
+ | `deprecatedLegacyContext?` | `any` | **`Deprecated`** **`See`** [React Docs](https://legacy.reactjs.org/docs/legacy-context.html#referencing-context-in-lifecycle-methods) |
162
+
163
+ #### Returns
164
+
165
+ `ReactNode`
166
+
167
+ #### Defined in
168
+
169
+ [packages/touchpoint-ui/src/components/ui/CustomCard.tsx:44](https://github.com/nlxai/sdk/blob/41670fecbb2747388825d4729cd709dc718a3a0c/packages/touchpoint-ui/src/components/ui/CustomCard.tsx#L44)
170
+
171
+ ___
172
+
173
+ ### CustomCardRow
174
+
175
+ ▸ **CustomCardRow**(`props`, `deprecatedLegacyContext?`): `ReactNode`
176
+
177
+ #### Parameters
178
+
179
+ | Name | Type | Description |
180
+ | :------ | :------ | :------ |
181
+ | `props` | [`CustomCardRowProps`](interfaces/CustomCardRowProps.md) | - |
182
+ | `deprecatedLegacyContext?` | `any` | **`Deprecated`** **`See`** [React Docs](https://legacy.reactjs.org/docs/legacy-context.html#referencing-context-in-lifecycle-methods) |
183
+
184
+ #### Returns
185
+
186
+ `ReactNode`
187
+
188
+ #### Defined in
189
+
190
+ [packages/touchpoint-ui/src/components/ui/CustomCard.tsx:69](https://github.com/nlxai/sdk/blob/41670fecbb2747388825d4729cd709dc718a3a0c/packages/touchpoint-ui/src/components/ui/CustomCard.tsx#L69)
191
+
192
+ ___
193
+
194
+ ### DateInput
195
+
196
+ ▸ **DateInput**(`props`, `deprecatedLegacyContext?`): `ReactNode`
197
+
198
+ #### Parameters
199
+
200
+ | Name | Type | Description |
201
+ | :------ | :------ | :------ |
202
+ | `props` | [`DateInputProps`](interfaces/DateInputProps.md) | - |
203
+ | `deprecatedLegacyContext?` | `any` | **`Deprecated`** **`See`** [React Docs](https://legacy.reactjs.org/docs/legacy-context.html#referencing-context-in-lifecycle-methods) |
204
+
205
+ #### Returns
206
+
207
+ `ReactNode`
208
+
209
+ #### Defined in
210
+
211
+ [packages/touchpoint-ui/src/components/ui/DateInput.tsx:25](https://github.com/nlxai/sdk/blob/41670fecbb2747388825d4729cd709dc718a3a0c/packages/touchpoint-ui/src/components/ui/DateInput.tsx#L25)
212
+
213
+ ___
214
+
215
+ ### IconButton
216
+
217
+ ▸ **IconButton**(`props`, `deprecatedLegacyContext?`): `ReactNode`
218
+
219
+ #### Parameters
220
+
221
+ | Name | Type | Description |
222
+ | :------ | :------ | :------ |
223
+ | `props` | [`IconButtonProps`](interfaces/IconButtonProps.md) | - |
224
+ | `deprecatedLegacyContext?` | `any` | **`Deprecated`** **`See`** [React Docs](https://legacy.reactjs.org/docs/legacy-context.html#referencing-context-in-lifecycle-methods) |
225
+
226
+ #### Returns
227
+
228
+ `ReactNode`
229
+
230
+ #### Defined in
231
+
232
+ [packages/touchpoint-ui/src/components/ui/IconButton.tsx:67](https://github.com/nlxai/sdk/blob/41670fecbb2747388825d4729cd709dc718a3a0c/packages/touchpoint-ui/src/components/ui/IconButton.tsx#L67)
233
+
234
+ ___
235
+
236
+ ### TextButton
237
+
238
+ ▸ **TextButton**(`props`, `deprecatedLegacyContext?`): `ReactNode`
239
+
240
+ #### Parameters
241
+
242
+ | Name | Type | Description |
243
+ | :------ | :------ | :------ |
244
+ | `props` | [`TextButtonProps`](interfaces/TextButtonProps.md) | - |
245
+ | `deprecatedLegacyContext?` | `any` | **`Deprecated`** **`See`** [React Docs](https://legacy.reactjs.org/docs/legacy-context.html#referencing-context-in-lifecycle-methods) |
246
+
247
+ #### Returns
248
+
249
+ `ReactNode`
250
+
251
+ #### Defined in
252
+
253
+ [packages/touchpoint-ui/src/components/ui/TextButton.tsx:33](https://github.com/nlxai/sdk/blob/41670fecbb2747388825d4729cd709dc718a3a0c/packages/touchpoint-ui/src/components/ui/TextButton.tsx#L33)
254
+
255
+ ___
256
+
257
+ ### BaseText
258
+
259
+ ▸ **BaseText**(`props`, `deprecatedLegacyContext?`): `ReactNode`
260
+
261
+ #### Parameters
262
+
263
+ | Name | Type | Description |
264
+ | :------ | :------ | :------ |
265
+ | `props` | `Object` | - |
266
+ | `props.children` | `ReactNode` | - |
267
+ | `props.faded?` | `boolean` | - |
268
+ | `deprecatedLegacyContext?` | `any` | **`Deprecated`** **`See`** [React Docs](https://legacy.reactjs.org/docs/legacy-context.html#referencing-context-in-lifecycle-methods) |
269
+
270
+ #### Returns
271
+
272
+ `ReactNode`
273
+
274
+ #### Defined in
275
+
276
+ [packages/touchpoint-ui/src/components/ui/Typography.tsx:5](https://github.com/nlxai/sdk/blob/41670fecbb2747388825d4729cd709dc718a3a0c/packages/touchpoint-ui/src/components/ui/Typography.tsx#L5)
277
+
278
+ ___
279
+
280
+ ### SmallText
281
+
282
+ ▸ **SmallText**(`props`, `deprecatedLegacyContext?`): `ReactNode`
283
+
284
+ #### Parameters
285
+
286
+ | Name | Type | Description |
287
+ | :------ | :------ | :------ |
288
+ | `props` | `Object` | - |
289
+ | `props.children` | `ReactNode` | - |
290
+ | `deprecatedLegacyContext?` | `any` | **`Deprecated`** **`See`** [React Docs](https://legacy.reactjs.org/docs/legacy-context.html#referencing-context-in-lifecycle-methods) |
291
+
292
+ #### Returns
293
+
294
+ `ReactNode`
295
+
296
+ #### Defined in
297
+
298
+ [packages/touchpoint-ui/src/components/ui/Typography.tsx:16](https://github.com/nlxai/sdk/blob/41670fecbb2747388825d4729cd709dc718a3a0c/packages/touchpoint-ui/src/components/ui/Typography.tsx#L16)
299
+
300
+ ___
301
+
302
+ ### html
303
+
304
+ ▸ **html**(`strings`, `...values`): `unknown`
305
+
306
+ #### Parameters
307
+
308
+ | Name | Type |
309
+ | :------ | :------ |
310
+ | `strings` | `TemplateStringsArray` |
311
+ | `...values` | `any`[] |
312
+
313
+ #### Returns
314
+
315
+ `unknown`
316
+
317
+ #### Defined in
318
+
319
+ [packages/touchpoint-ui/src/index.tsx:33](https://github.com/nlxai/sdk/blob/41670fecbb2747388825d4729cd709dc718a3a0c/packages/touchpoint-ui/src/index.tsx#L33)
320
+
321
+ ___
322
+
323
+ ### create
324
+
325
+ ▸ **create**(`props`): `Promise`\<[`TouchpointInstance`](interfaces/TouchpointInstance.md)\>
326
+
327
+ Creates a new Touchpoint UI instance and appends it to the document body
328
+
329
+ #### Parameters
330
+
331
+ | Name | Type | Description |
332
+ | :------ | :------ | :------ |
333
+ | `props` | [`TouchpointConfiguration`](interfaces/TouchpointConfiguration.md) | Configuration props for Touchpoint |
334
+
335
+ #### Returns
336
+
337
+ `Promise`\<[`TouchpointInstance`](interfaces/TouchpointInstance.md)\>
338
+
339
+ A promise that resolves to a TouchpointInstance
340
+
341
+ #### Defined in
342
+
343
+ [packages/touchpoint-ui/src/index.tsx:202](https://github.com/nlxai/sdk/blob/41670fecbb2747388825d4729cd709dc718a3a0c/packages/touchpoint-ui/src/index.tsx#L202)
344
+
345
+ ___
346
+
347
+ ### PreviewContainer
348
+
349
+ ▸ **PreviewContainer**(`props`, `deprecatedLegacyContext?`): `ReactNode`
350
+
351
+ #### Parameters
352
+
353
+ | Name | Type | Description |
354
+ | :------ | :------ | :------ |
355
+ | `props` | `Object` | - |
356
+ | `props.children` | `ReactNode` | - |
357
+ | `props.mode` | [`ColorMode`](README.md#colormode) | - |
358
+ | `props.theme` | `Partial`\<[`Theme`](interfaces/Theme.md)\> | - |
359
+ | `deprecatedLegacyContext?` | `any` | **`Deprecated`** **`See`** [React Docs](https://legacy.reactjs.org/docs/legacy-context.html#referencing-context-in-lifecycle-methods) |
360
+
361
+ #### Returns
362
+
363
+ `ReactNode`
364
+
365
+ #### Defined in
366
+
367
+ [packages/touchpoint-ui/src/preview.tsx:10](https://github.com/nlxai/sdk/blob/41670fecbb2747388825d4729cd709dc718a3a0c/packages/touchpoint-ui/src/preview.tsx#L10)
@@ -0,0 +1,47 @@
1
+ # Interface: CustomCardProps
2
+
3
+ Props for the CustomCard component
4
+
5
+ ## Properties
6
+
7
+ ### children
8
+
9
+ • **children**: `ReactNode`
10
+
11
+ Content to be rendered inside the card.
12
+
13
+ #### Defined in
14
+
15
+ [packages/touchpoint-ui/src/components/ui/CustomCard.tsx:14](https://github.com/nlxai/sdk/blob/41670fecbb2747388825d4729cd709dc718a3a0c/packages/touchpoint-ui/src/components/ui/CustomCard.tsx#L14)
16
+
17
+ ___
18
+
19
+ ### selected
20
+
21
+ • `Optional` **selected**: `boolean`
22
+
23
+ Whether the card is in a selected state. Used to highlight the card.
24
+
25
+ #### Defined in
26
+
27
+ [packages/touchpoint-ui/src/components/ui/CustomCard.tsx:18](https://github.com/nlxai/sdk/blob/41670fecbb2747388825d4729cd709dc718a3a0c/packages/touchpoint-ui/src/components/ui/CustomCard.tsx#L18)
28
+
29
+ ___
30
+
31
+ ### onClick
32
+
33
+ • `Optional` **onClick**: () => `void`
34
+
35
+ Handler function for when the card is clicked
36
+
37
+ #### Type declaration
38
+
39
+ ▸ (): `void`
40
+
41
+ ##### Returns
42
+
43
+ `void`
44
+
45
+ #### Defined in
46
+
47
+ [packages/touchpoint-ui/src/components/ui/CustomCard.tsx:22](https://github.com/nlxai/sdk/blob/41670fecbb2747388825d4729cd709dc718a3a0c/packages/touchpoint-ui/src/components/ui/CustomCard.tsx#L22)
@@ -0,0 +1,39 @@
1
+ # Interface: CustomCardRowProps
2
+
3
+ Props for the CustomCardRow component
4
+
5
+ ## Properties
6
+
7
+ ### left
8
+
9
+ • **left**: `ReactNode`
10
+
11
+ Content to be displayed on the left side of the row
12
+
13
+ #### Defined in
14
+
15
+ [packages/touchpoint-ui/src/components/ui/CustomCard.tsx:58](https://github.com/nlxai/sdk/blob/41670fecbb2747388825d4729cd709dc718a3a0c/packages/touchpoint-ui/src/components/ui/CustomCard.tsx#L58)
16
+
17
+ ___
18
+
19
+ ### right
20
+
21
+ • **right**: `ReactNode`
22
+
23
+ Content to be displayed on the right side of the row
24
+
25
+ #### Defined in
26
+
27
+ [packages/touchpoint-ui/src/components/ui/CustomCard.tsx:62](https://github.com/nlxai/sdk/blob/41670fecbb2747388825d4729cd709dc718a3a0c/packages/touchpoint-ui/src/components/ui/CustomCard.tsx#L62)
28
+
29
+ ___
30
+
31
+ ### icon
32
+
33
+ • `Optional` **icon**: [`Icon`](../modules/Icons.md#icon)
34
+
35
+ Optional icon to be displayed in the center of the row
36
+
37
+ #### Defined in
38
+
39
+ [packages/touchpoint-ui/src/components/ui/CustomCard.tsx:66](https://github.com/nlxai/sdk/blob/41670fecbb2747388825d4729cd709dc718a3a0c/packages/touchpoint-ui/src/components/ui/CustomCard.tsx#L66)
@@ -0,0 +1,29 @@
1
+ # Interface: DateInputProps
2
+
3
+ Props for the DateInput component
4
+
5
+ ## Properties
6
+
7
+ ### onSubmit
8
+
9
+ • `Optional` **onSubmit**: (`date`: `string`) => `void`
10
+
11
+ Handler function called when the date is submitted
12
+
13
+ #### Type declaration
14
+
15
+ ▸ (`date`): `void`
16
+
17
+ ##### Parameters
18
+
19
+ | Name | Type | Description |
20
+ | :------ | :------ | :------ |
21
+ | `date` | `string` | The submitted date in YYYY-MM-DD format |
22
+
23
+ ##### Returns
24
+
25
+ `void`
26
+
27
+ #### Defined in
28
+
29
+ [packages/touchpoint-ui/src/components/ui/DateInput.tsx:16](https://github.com/nlxai/sdk/blob/41670fecbb2747388825d4729cd709dc718a3a0c/packages/touchpoint-ui/src/components/ui/DateInput.tsx#L16)
@@ -0,0 +1,71 @@
1
+ # Interface: IconButtonProps
2
+
3
+ Props for the IconButton component
4
+
5
+ ## Properties
6
+
7
+ ### onClick
8
+
9
+ • `Optional` **onClick**: () => `void`
10
+
11
+ Handler function called when the button is clicked
12
+
13
+ #### Type declaration
14
+
15
+ ▸ (): `void`
16
+
17
+ ##### Returns
18
+
19
+ `void`
20
+
21
+ #### Defined in
22
+
23
+ [packages/touchpoint-ui/src/components/ui/IconButton.tsx:31](https://github.com/nlxai/sdk/blob/41670fecbb2747388825d4729cd709dc718a3a0c/packages/touchpoint-ui/src/components/ui/IconButton.tsx#L31)
24
+
25
+ ___
26
+
27
+ ### label
28
+
29
+ • **label**: `string`
30
+
31
+ Accessible label for the button
32
+
33
+ #### Defined in
34
+
35
+ [packages/touchpoint-ui/src/components/ui/IconButton.tsx:35](https://github.com/nlxai/sdk/blob/41670fecbb2747388825d4729cd709dc718a3a0c/packages/touchpoint-ui/src/components/ui/IconButton.tsx#L35)
36
+
37
+ ___
38
+
39
+ ### className
40
+
41
+ • `Optional` **className**: `string`
42
+
43
+ Additional CSS classes to apply to the button
44
+
45
+ #### Defined in
46
+
47
+ [packages/touchpoint-ui/src/components/ui/IconButton.tsx:39](https://github.com/nlxai/sdk/blob/41670fecbb2747388825d4729cd709dc718a3a0c/packages/touchpoint-ui/src/components/ui/IconButton.tsx#L39)
48
+
49
+ ___
50
+
51
+ ### type
52
+
53
+ • **type**: [`IconButtonType`](../README.md#iconbuttontype)
54
+
55
+ Visual style variant of the button. One of IconButtonType.
56
+
57
+ #### Defined in
58
+
59
+ [packages/touchpoint-ui/src/components/ui/IconButton.tsx:43](https://github.com/nlxai/sdk/blob/41670fecbb2747388825d4729cd709dc718a3a0c/packages/touchpoint-ui/src/components/ui/IconButton.tsx#L43)
60
+
61
+ ___
62
+
63
+ ### Icon
64
+
65
+ • **Icon**: `FC`\<[`IconProps`](Icons.IconProps.md)\>
66
+
67
+ Icon component to display inside the button
68
+
69
+ #### Defined in
70
+
71
+ [packages/touchpoint-ui/src/components/ui/IconButton.tsx:47](https://github.com/nlxai/sdk/blob/41670fecbb2747388825d4729cd709dc718a3a0c/packages/touchpoint-ui/src/components/ui/IconButton.tsx#L47)
@@ -0,0 +1,29 @@
1
+ # Interface: IconProps
2
+
3
+ [Icons](../modules/Icons.md).IconProps
4
+
5
+ Props for icon components
6
+
7
+ ## Properties
8
+
9
+ ### className
10
+
11
+ • `Optional` **className**: `string`
12
+
13
+ Additional CSS classes to apply to the icon
14
+
15
+ #### Defined in
16
+
17
+ [packages/touchpoint-ui/src/components/ui/Icons.tsx:11](https://github.com/nlxai/sdk/blob/41670fecbb2747388825d4729cd709dc718a3a0c/packages/touchpoint-ui/src/components/ui/Icons.tsx#L11)
18
+
19
+ ___
20
+
21
+ ### size
22
+
23
+ • `Optional` **size**: `number`
24
+
25
+ Custom size in pixels for the icon
26
+
27
+ #### Defined in
28
+
29
+ [packages/touchpoint-ui/src/components/ui/Icons.tsx:15](https://github.com/nlxai/sdk/blob/41670fecbb2747388825d4729cd709dc718a3a0c/packages/touchpoint-ui/src/components/ui/Icons.tsx#L15)
@@ -0,0 +1,72 @@
1
+ # Interface: TextButtonProps
2
+
3
+ Props for the TextButton component
4
+
5
+ ## Properties
6
+
7
+ ### onClick
8
+
9
+ • `Optional` **onClick**: () => `void`
10
+
11
+ Handler function called when the button is clicked
12
+
13
+ #### Type declaration
14
+
15
+ ▸ (): `void`
16
+
17
+ ##### Returns
18
+
19
+ `void`
20
+
21
+ #### Defined in
22
+
23
+ [packages/touchpoint-ui/src/components/ui/TextButton.tsx:13](https://github.com/nlxai/sdk/blob/41670fecbb2747388825d4729cd709dc718a3a0c/packages/touchpoint-ui/src/components/ui/TextButton.tsx#L13)
24
+
25
+ ___
26
+
27
+ ### label
28
+
29
+ • **label**: `string`
30
+
31
+ Text to display on the button
32
+
33
+ #### Defined in
34
+
35
+ [packages/touchpoint-ui/src/components/ui/TextButton.tsx:17](https://github.com/nlxai/sdk/blob/41670fecbb2747388825d4729cd709dc718a3a0c/packages/touchpoint-ui/src/components/ui/TextButton.tsx#L17)
36
+
37
+ ___
38
+
39
+ ### className
40
+
41
+ • `Optional` **className**: `string`
42
+
43
+ Additional CSS classes to apply to the button
44
+
45
+ #### Defined in
46
+
47
+ [packages/touchpoint-ui/src/components/ui/TextButton.tsx:21](https://github.com/nlxai/sdk/blob/41670fecbb2747388825d4729cd709dc718a3a0c/packages/touchpoint-ui/src/components/ui/TextButton.tsx#L21)
48
+
49
+ ___
50
+
51
+ ### type
52
+
53
+ • `Optional` **type**: ``"main"`` \| ``"ghost"``
54
+
55
+ Visual style variant of the button
56
+ Default value is "ghost"
57
+
58
+ #### Defined in
59
+
60
+ [packages/touchpoint-ui/src/components/ui/TextButton.tsx:26](https://github.com/nlxai/sdk/blob/41670fecbb2747388825d4729cd709dc718a3a0c/packages/touchpoint-ui/src/components/ui/TextButton.tsx#L26)
61
+
62
+ ___
63
+
64
+ ### Icon
65
+
66
+ • **Icon**: `FC`\<[`IconProps`](Icons.IconProps.md)\>
67
+
68
+ Icon component to display inside the button.
69
+
70
+ #### Defined in
71
+
72
+ [packages/touchpoint-ui/src/components/ui/TextButton.tsx:30](https://github.com/nlxai/sdk/blob/41670fecbb2747388825d4729cd709dc718a3a0c/packages/touchpoint-ui/src/components/ui/TextButton.tsx#L30)