@epam/ai-dial-ui-kit 0.15.0-dev.47 → 0.15.0-dev.48
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.
|
@@ -47,6 +47,8 @@ export declare const DangerButton: FC<ButtonVariantProps>;
|
|
|
47
47
|
* pill whose icons are stroked with the accent gradient
|
|
48
48
|
* Design system 2.0
|
|
49
49
|
*
|
|
50
|
+
* `iconBefore` defaults to a sparkles icon; pass `null` for a label-only pill.
|
|
51
|
+
*
|
|
50
52
|
* An SVG stroke cannot take a CSS gradient, so the button renders its own
|
|
51
53
|
* `linearGradient` with a per-instance id and hands it to its icons through
|
|
52
54
|
* the `--dial-kit-starter-icon-stroke` custom property. Any icon that strokes
|
|
@@ -55,7 +57,6 @@ export declare const DangerButton: FC<ButtonVariantProps>;
|
|
|
55
57
|
* ```tsx
|
|
56
58
|
* <StarterButton
|
|
57
59
|
* label="Summarize this document"
|
|
58
|
-
* iconBefore={<IconSparkles />}
|
|
59
60
|
* onClick={handleClick}
|
|
60
61
|
* />
|
|
61
62
|
* ```
|