@redsift/design-system 8.0.0 → 8.0.1
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/index.d.ts +2 -2
- package/index.js +355 -87
- package/index.js.map +1 -1
- package/package.json +2 -2
package/index.d.ts
CHANGED
|
@@ -1148,14 +1148,14 @@ interface ButtonProps extends ComponentProps<'button'>, StylingProps {
|
|
|
1148
1148
|
* Recommended path data come from mdi/js.<br />
|
|
1149
1149
|
* See <a href="https://www.npmjs.com/package/@mdi/js">https://www.npmjs.com/package/@mdi/js</a>.
|
|
1150
1150
|
*/
|
|
1151
|
-
leftIcon?: string;
|
|
1151
|
+
leftIcon?: string | ReactElement;
|
|
1152
1152
|
/**
|
|
1153
1153
|
* Icon path data (`d` property of the `path` SVG element).<br />
|
|
1154
1154
|
* See <a href="https://developer.mozilla.org/en-US/docs/Web/SVG/Tutorial/Paths">https://developer.mozilla.org/en-US/docs/Web/SVG/Tutorial/Paths</a>.<br />
|
|
1155
1155
|
* Recommended path data come from mdi/js.<br />
|
|
1156
1156
|
* See <a href="https://www.npmjs.com/package/@mdi/js">https://www.npmjs.com/package/@mdi/js</a>.
|
|
1157
1157
|
*/
|
|
1158
|
-
rightIcon?: string;
|
|
1158
|
+
rightIcon?: string | ReactElement;
|
|
1159
1159
|
/** Button variant. */
|
|
1160
1160
|
variant?: ButtonVariant;
|
|
1161
1161
|
}
|