Add prop to fence component called content which will hold the content contained within the fence component. Update code snippet component so that it filters the fence components passed to it as children to only display the fence component that is same language as the selected language and pass the content prop of the fence component to the copy code button component on each render of the snippet component.
Onspring API Docs
This is an example of what a versioned documentation site for the Onspring API might look like. It is meant to be single source of truth for the information or resources a developer might need or want when working with the Onspring API. The information documented on the site was collected from the following sources:
- Onspring's v1 API Administrator Guide
- Onspring's v2 API Administrator Guide
- Onspring's v2 Swagger Documentation
- Exploratory API Requests
All efforts were made to reconcile any conflicting information among these sources using actual interactions with the API as the final authoritative source.
Note: This is an unofficial documentation site for the Onspring API. It was not built in consultation with Onspring Technologies LLC or a member of their development team. If you are working directly with Onspring Technologies LLC while building with their API please reference their official documentation linked above.