diff --git a/package.json b/package.json index b4ddff7df..075a2b978 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@openstax/ui-components", - "version": "1.17.0", + "version": "1.17.1", "license": "MIT", "source": "./src/index.ts", "types": "./dist/index.d.ts", diff --git a/src/components/Tree.tsx b/src/components/Tree.tsx index 0ac74f298..eb5c46452 100644 --- a/src/components/Tree.tsx +++ b/src/components/Tree.tsx @@ -49,14 +49,22 @@ const ChevronWrapper = styled.div` } `; -export const TreeChevron = styled((props: React.PropsWithChildren<{ className?: string }>) => ( - - - {props.children} - -))` +export const TreeChevron = styled( + (props: React.PropsWithChildren<{ + className?: string, + }>) => ( + + + + + + + {props.children} + + ))` `; diff --git a/src/components/__snapshots__/Tree.spec.tsx.snap b/src/components/__snapshots__/Tree.spec.tsx.snap index 6e4d1486c..3197bce3b 100644 --- a/src/components/__snapshots__/Tree.spec.tsx.snap +++ b/src/components/__snapshots__/Tree.spec.tsx.snap @@ -56,7 +56,14 @@ exports[`Tree matches snapshot 1`] = ` >