Skip to content

Commit

Permalink
Feat : Add card collapsable (#1627)
Browse files Browse the repository at this point in the history
  • Loading branch information
BaskarMitrah authored and timkim committed Nov 22, 2024
1 parent 279814c commit 1dc277f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion example/src/pages/credential/GetCredentialApiKey.js
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ const GetCredentialApiKey = () => {

<GetCredential.UnknownError helpLink="https://some_help_link" helpLinkText="Get Help" className="unKnownError" />

<GetCredential.Card title="Your credential is ready to use" paragraph="Check the downloads section of your browser for the ZIP file, or find it where you save downloads on your machine." className="card_developer_console" nextStepsLabel="Next steps" nextStepsHref="/credentials/nextsteps">
<GetCredential.Card title="Your credential is ready to use" paragraph="Check the downloads section of your browser for the ZIP file, or find it where you save downloads on your machine." className="card_developer_console" nextStepsLabel="Next steps" nextStepsHref="/credentials/nextsteps" isCollapsable="true">

<GetCredential.Card.Side>
<div style="display : flex ; gap : 16px ; flex-direction : column;">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -246,6 +246,7 @@ const MyCredential = ({
devConsoleLink={card?.devConsoleDirection}
developerConsoleManage={card?.developerConsoleManage}
myCredentialFields={myCredentialFields}
collapse={card?.isCollapsable}
/>
<div
css={css`
Expand Down

0 comments on commit 1dc277f

Please sign in to comment.