diff --git a/docs/_partials/billing/create-an-organization-pricing-table.mdx b/docs/_partials/billing/create-an-organization-pricing-table.mdx index ed2777a334..aa4d15193e 100644 --- a/docs/_partials/billing/create-an-organization-pricing-table.mdx +++ b/docs/_partials/billing/create-an-organization-pricing-table.mdx @@ -7,7 +7,7 @@
- +
@@ -29,7 +29,7 @@ const pricingTableDiv = document.getElementById('pricing-table') - clerk.mountPricingTable(pricingTableDiv, { forOrganizations: true }) + clerk.mountPricingTable(pricingTableDiv, { for: 'organization' }) ``` @@ -40,7 +40,7 @@ export default function PricingPage() { return (
- +
) } @@ -55,7 +55,7 @@ ``` @@ -69,7 +69,7 @@ ``` @@ -82,7 +82,7 @@ export default function PricingScreen() { return (
- +
) } @@ -101,7 +101,7 @@ export default function PricingPage() { return (
- +
) } @@ -115,7 +115,7 @@ export default function PricingPage() { return (
- +
) } @@ -134,7 +134,7 @@ function PricingPage() { return (
- +
) } @@ -152,7 +152,7 @@ export default function PricingPage() { return ( - + ) } diff --git a/docs/reference/components/billing/pricing-table.mdx b/docs/reference/components/billing/pricing-table.mdx index 4f6a01cacc..dca3c339ae 100644 --- a/docs/reference/components/billing/pricing-table.mdx +++ b/docs/reference/components/billing/pricing-table.mdx @@ -263,10 +263,10 @@ All props are optional. --- - - `forOrganizations` - - `boolean` + - `for` + - `'user' | 'organization'` - A boolean that indicates whether the pricing table is for [organizations](/docs/guides/organizations/overview). If `false`, the pricing table will display a list of plans and features that **users** can subscribe to. If `true`, the pricing table will display a list of plans and features that **organizations** can subscribe to. Defaults to `false`. + A string that indicates whether the pricing table is for users or [organizations](/docs/guides/organizations/overview). If `'user'`, the pricing table will display a list of plans and features that **users** can subscribe to. If `'organization'`, the pricing table will display a list of plans and features that **organizations** can subscribe to. Defaults to `'user'`. ---