refactor(ui): organize component source tree
This commit is contained in:
parent
8927f2ab8a
commit
32ad2cebe4
66 changed files with 194 additions and 124 deletions
26
packages/ui/src/components/telemetry/SignalTrace.tsx
Normal file
26
packages/ui/src/components/telemetry/SignalTrace.tsx
Normal file
|
|
@ -0,0 +1,26 @@
|
|||
export interface SignalTraceProps {
|
||||
density?: "regular" | "tight";
|
||||
orientation?: "horizontal" | "vertical";
|
||||
tone?: "neutral" | "accent" | "warning";
|
||||
}
|
||||
|
||||
export function SignalTrace({
|
||||
density = "regular",
|
||||
orientation = "horizontal",
|
||||
tone = "accent",
|
||||
}: SignalTraceProps) {
|
||||
return (
|
||||
<div
|
||||
className="signal-trace"
|
||||
data-density={density}
|
||||
data-orientation={orientation}
|
||||
data-tone={tone}
|
||||
aria-hidden="true"
|
||||
>
|
||||
<span className="signal-trace__rail" />
|
||||
<span className="signal-trace__node" data-node="start" />
|
||||
<span className="signal-trace__node" data-node="middle" />
|
||||
<span className="signal-trace__node" data-node="end" />
|
||||
</div>
|
||||
);
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue