Resolve or clarify simpler todos in techdocs-addons

Signed-off-by: Eric Peterson <ericpeterson@spotify.com>
This commit is contained in:
Eric Peterson
2022-04-01 18:27:43 +02:00
committed by Emma Indal
parent 68f49e4ac6
commit f04b458bbc
3 changed files with 22 additions and 13 deletions
@@ -29,11 +29,6 @@ export const useShadowRoot = () => {
* Convenience hook for use within TechDocs addons that provides access to
* elements that match a given selector within the shadow root.
*
* todo(backstage/techdocs-core): Consider extending `selectors` from string[]
* to some kind of typed object array, so users have more control over the
* shape of the result. e.g. a flag to indicate querySelector vs.
* querySelectorAll.
*
* @public
*/
export const useShadowRootElements = <