diff --git a/.changeset/khaki-ties-wink.md b/.changeset/khaki-ties-wink.md new file mode 100644 index 0000000000..5627d644e3 --- /dev/null +++ b/.changeset/khaki-ties-wink.md @@ -0,0 +1,7 @@ +--- +'nextra': patch +'nextra-theme-blog': patch +'nextra-theme-docs': patch +--- + +add missing `nx-` prefixes to table/th/tr elements diff --git a/packages/nextra/src/components/table.tsx b/packages/nextra/src/components/table.tsx index 4d4453b2b4..f7e7ed4ebf 100644 --- a/packages/nextra/src/components/table.tsx +++ b/packages/nextra/src/components/table.tsx @@ -4,5 +4,5 @@ export const Table = ({ className = '', ...props }: ComponentProps<'table'>) => ( - +
) diff --git a/packages/nextra/src/components/th.tsx b/packages/nextra/src/components/th.tsx index 477e5eea3f..9f506d251c 100644 --- a/packages/nextra/src/components/th.tsx +++ b/packages/nextra/src/components/th.tsx @@ -2,7 +2,7 @@ import React, { ComponentProps } from 'react' export const Th = (props: ComponentProps<'th'>) => (
) diff --git a/packages/nextra/src/components/tr.tsx b/packages/nextra/src/components/tr.tsx index 2e3db11a49..16998fdccc 100644 --- a/packages/nextra/src/components/tr.tsx +++ b/packages/nextra/src/components/tr.tsx @@ -3,8 +3,8 @@ import React, { ComponentProps } from 'react' export const Tr = (props: ComponentProps<'tr'>) => (