Skip to main content

PlanBadgeProps

SolvaPay SDK


SolvaPay SDK / react/src / PlanBadgeProps

Interface: PlanBadgeProps

Defined in: packages/react/src/types/index.ts:171

Properties

as?

optional as: ElementType<any, keyof IntrinsicElements>

Defined in: packages/react/src/types/index.ts:178


children()?

optional children: (props) => ReactNode

Defined in: packages/react/src/types/index.ts:172

Parameters

props
displayPlan

string | null

loading

boolean

shouldShow

boolean

subscriptions

SubscriptionInfo[]

Returns

ReactNode


className?

optional className: string | (props) => string

Defined in: packages/react/src/types/index.ts:179