@muraldevkit/ui-toolkit 1.16.0 → 1.16.2
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.
|
@@ -2,6 +2,8 @@ import React from 'react';
|
|
|
2
2
|
import { MrlComponentProps } from '../../../utils';
|
|
3
3
|
import { SVGSize } from '../constants';
|
|
4
4
|
export interface SvgPropTypes extends Omit<MrlComponentProps, 'style'>, React.ComponentProps<'svg'> {
|
|
5
|
+
/** Any additional classes to style the SVG's container */
|
|
6
|
+
className?: string;
|
|
5
7
|
/**
|
|
6
8
|
* @todo: Add optional path prop to point to a static SVG url
|
|
7
9
|
* @todo: Make SVG prop optional and must pass one of path or SVG
|
|
@@ -4,6 +4,8 @@ import { AnimatedState } from '../constants';
|
|
|
4
4
|
* Props for MrlSvgAnimate component
|
|
5
5
|
*/
|
|
6
6
|
export interface MrlSvgAnimateProps {
|
|
7
|
+
/** Any additional classes to style the SVG's container */
|
|
8
|
+
className?: string;
|
|
7
9
|
/**
|
|
8
10
|
* JSON file contents used by Lottie to generate an animated SVG to render.
|
|
9
11
|
* This attribute is mutually exclusive with fullPath and cdnFile.
|