mirror of
https://github.com/Xevion/rdap.git
synced 2025-12-06 01:16:00 -06:00
Created a reusable EmDash component to standardize placeholder rendering across tables. Updated DynamicDate to use semantic <time> element instead of Button wrapper. Improved table alignment with proper left/center/right positioning in LinksSection and NameserversSection. Enhanced typography in RemarksSection with medium font weight for headings.
22 lines
372 B
TypeScript
22 lines
372 B
TypeScript
import type { FunctionComponent } from "react";
|
|
import { Text } from "@radix-ui/themes";
|
|
|
|
/**
|
|
* A reusable em dash component for displaying placeholder text in tables.
|
|
*/
|
|
const EmDash: FunctionComponent = () => {
|
|
return (
|
|
<Text
|
|
size="2"
|
|
style={{
|
|
color: "var(--gray-a8)",
|
|
userSelect: "none",
|
|
}}
|
|
>
|
|
—
|
|
</Text>
|
|
);
|
|
};
|
|
|
|
export default EmDash;
|