Skip to content

Commit

Permalink
Fix table style (#1087)
Browse files Browse the repository at this point in the history
docs: fix table style
  • Loading branch information
Lisa18289 authored Dec 18, 2024
1 parent 0e9d09e commit 05e9158
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 8 deletions.

This file was deleted.

Original file line number Diff line number Diff line change
@@ -1,12 +1,11 @@
import React from "react";
import type { Property } from "../types";
import { TableRow, TableCell } from "@mittwald/flow-react-components/Table";
import { TableCell, TableRow } from "@mittwald/flow-react-components/Table";
import { InlineCode } from "@mittwald/flow-react-components/InlineCode";
import { customComponents } from "@/lib/mdx/components/MdxFileView/customComponents";
import Markdown from "react-markdown";
import { omit } from "remeda";
import { Badge } from "@mittwald/flow-react-components/Badge";
import styles from "./PropertyRow.module.css";

export interface PropertyTableGroupProps {
property: Property;
Expand All @@ -20,7 +19,7 @@ export const PropertyRow: React.FC<PropertyTableGroupProps> = ({
.replaceAll(/{@link (\S+)}/g, "[$1]($1)");
return (
<TableRow>
<TableCell className={styles.nameCell}>
<TableCell>
<InlineCode>{property.name}</InlineCode>
{property.required && <Badge>Required</Badge>}
</TableCell>
Expand Down

0 comments on commit 05e9158

Please sign in to comment.