UNPKG

@selfcommunity/react-core

Version:

React Core Components useful for integrating UI Community components (react-ui).

19 lines (17 loc) 455 B
/** :::info This custom hook is used to check if the payments are enabled ::: :::tip How to use it: Follow these steps: ```jsx 1. import useSCPaymentsEnabled from '@selfcommunity/react-core'; 2. const {isPaymentsEnabled, stripePublicKey, stripeConnectedAccountId} = useSCPaymentsEnabled(); ``` ::: */ export default function useSCPaymentsEnabled(): { isPaymentsEnabled: any; stripePublicKey: any; stripeConnectedAccountId: any; };