Skip to content

Commit

Permalink
docs: accts, idp, and disclosure component
Browse files Browse the repository at this point in the history
Updated the accounting concepts page. Formatted the examples to be a bit easier to scan through. I'm working on revised examples outside of this PR. Also made some updates to the IDP doc and removed the use of the Disclosure component from the Webhook Events page and README. We are no longer using the component.
  • Loading branch information
melissahenderson committed Nov 18, 2024
1 parent be426fa commit 0bb0927
Show file tree
Hide file tree
Showing 4 changed files with 357 additions and 294 deletions.
5 changes: 2 additions & 3 deletions packages/documentation/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -61,18 +61,17 @@ Refer to the Starlight documentation on [authoring content](https://starlight.as
We have extracted some commonly repeated patterns within the documentation pages into custom docs components that can be reused. There are components which are shared across all our Starlight documentation sites and those which are specific to this project only. This will determine what the import path is.

- CodeBlock (Shared)
- Disclosure (Shared)
- Hidden (Shared)
- LargeImg (Shared)
- LinkOut (Shared)
- MermaidWrapper (Shared)
- StylishHeader (Shared)
- Tooltip (Shared)

For the shared components, if you are using both `CodeBlock` and `Disclosure` on the same page, you can import them both like so:
For the shared components, if you are using both `CodeBlock` and `LinkOut` on the same page, you can import them both like so:

```jsx
import { CodeBlock, Disclosure } from '@interledger/docs-design-system'
import { CodeBlock, LinkOut } from '@interledger/docs-design-system'
```

For more information about importing things in Javascript, please refer to [import on MDN](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Statements/import).
Expand Down
Loading

0 comments on commit 0bb0927

Please sign in to comment.