@bpds-test/react-benefit-tag 1.0.0
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/dist/index.d.ts +15 -0
- package/dist/index.mjs +2439 -0
- package/dist/index.mjs.map +1 -0
- package/index.tsx +37 -0
- package/package.json +49 -0
package/dist/index.d.ts
ADDED
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { FC } from 'react';
|
|
2
|
+
|
|
3
|
+
declare const BenefitTag: FC<Props>;
|
|
4
|
+
export default BenefitTag;
|
|
5
|
+
|
|
6
|
+
export declare interface Props {
|
|
7
|
+
/** Describes the benefit. */
|
|
8
|
+
children: string;
|
|
9
|
+
/** Type or category of the benefit. Depending on the chosen value, the visual appearance of the component will adjust appropriately. */
|
|
10
|
+
variant?: "product" | "price" | "social" | "voucher";
|
|
11
|
+
/** One of two possible component sizes, which should be used depending on the context. */
|
|
12
|
+
size?: "large" | "small";
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
export { }
|