diff --git a/packages/clay-label/src/ClayLabel.tsx b/packages/clay-label/src/ClayLabel.tsx index eb713d0200..68b8796cab 100644 --- a/packages/clay-label/src/ClayLabel.tsx +++ b/packages/clay-label/src/ClayLabel.tsx @@ -26,6 +26,11 @@ interface Props * Flag to indicate if the label should be of the `large` variant. */ large?: boolean; + + /** + * Path to the location of the spritemap resource used for Icon. + */ + spritemap?: string; } const ClayLabel: React.FunctionComponent = ({ @@ -35,6 +40,7 @@ const ClayLabel: React.FunctionComponent = ({ displayType = 'secondary', href, large = false, + spritemap, ...otherProps }) => { const TagName = href ? 'a' : 'span'; @@ -58,7 +64,7 @@ const ClayLabel: React.FunctionComponent = ({ className="close" type="button" > - + )}