Merge branch 'master' into techdocs/remove-warnings

Signed-off-by: Morgan Bentell <morgan.bentell@gmail.com>
This commit is contained in:
Morgan Bentell
2023-03-16 16:18:32 +01:00
committed by GitHub
1099 changed files with 36089 additions and 25992 deletions
+3 -5
View File
@@ -204,11 +204,9 @@ export type TechDocsShadowDomProps = PropsWithChildren<{
* @param props - see {@link TechDocsShadowDomProps}.
* @public
*/
export const TechDocsShadowDom = ({
element,
onAppend,
children,
}: TechDocsShadowDomProps) => {
export const TechDocsShadowDom = (props: TechDocsShadowDomProps) => {
const { element, onAppend, children } = props;
const [jss, setJss] = useState(
create({
...jssPreset(),
+3 -1
View File
@@ -111,7 +111,9 @@ export type TechDocsReaderPageProviderProps = {
* @public
*/
export const TechDocsReaderPageProvider = memo(
({ entityRef, children }: TechDocsReaderPageProviderProps) => {
(props: TechDocsReaderPageProviderProps) => {
const { entityRef, children } = props;
const techdocsApi = useApi(techdocsApiRef);
const config = useApi(configApiRef);