@rokt/dcui-orchestrator 1.0.1-rc.9 → 1.1.0
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.
|
@@ -1,8 +1,5 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { CatalogResponseButtonModel, NonInteractableChildren, WhenPredicate } from '@rokt/dcui-layout-schema';
|
|
3
|
-
type CatalogResponseButtonSchema = CatalogResponseButtonModel<NonInteractableChildren, WhenPredicate> & {
|
|
4
|
-
response_key?: string | null;
|
|
5
|
-
};
|
|
6
3
|
export interface CatalogResponseButtonProps {
|
|
7
4
|
/**
|
|
8
5
|
* - `responseKey`: the key of the response option to use.
|
|
@@ -37,7 +34,7 @@ export interface CatalogResponseButtonProps {
|
|
|
37
34
|
* - `background`
|
|
38
35
|
* - `border`
|
|
39
36
|
*/
|
|
40
|
-
schema:
|
|
37
|
+
schema: CatalogResponseButtonModel<NonInteractableChildren, WhenPredicate>;
|
|
41
38
|
testId?: string;
|
|
42
39
|
}
|
|
43
40
|
/**The CatalogResponse is a button node that generate a Call-to-Action button
|
|
@@ -45,4 +42,3 @@ export interface CatalogResponseButtonProps {
|
|
|
45
42
|
* *Where can we use this: __layout variant__*
|
|
46
43
|
*/
|
|
47
44
|
export declare function CatalogResponseButton(props: CatalogResponseButtonProps): React.JSX.Element | undefined;
|
|
48
|
-
export {};
|