Skip to content

Commit 08c5a4a

Browse files
authored
fix: data analytics attribute from another external module (#2500)
* chore: data analytics not being exported * chore: data attribute
1 parent 3a7f55f commit 08c5a4a

File tree

2 files changed

+7
-2
lines changed

2 files changed

+7
-2
lines changed

.changeset/sour-cherries-fry.md

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
'@razorpay/blade': patch
3+
---
4+
5+
fix(blade): fix: data analytics attribute from another external module

packages/blade/src/utils/types.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -147,9 +147,9 @@ type DataAnalyticsKey = `data-analytics-${string}`;
147147
* eg: `data-analytics-action="click"`
148148
* eg: `data-analytics-section="header"`
149149
*/
150-
interface DataAnalyticsAttribute {
150+
type DataAnalyticsAttribute = {
151151
[key: DataAnalyticsKey]: string;
152-
}
152+
};
153153

154154
export type {
155155
DotNotationColorStringToken,

0 commit comments

Comments
 (0)