codex/broker-accounts-page #34
@ -1,20 +0,0 @@
|
|||||||
export function SkeletonBlock({
|
|
||||||
width,
|
|
||||||
height,
|
|
||||||
borderRadius = 4,
|
|
||||||
}: {
|
|
||||||
width?: string | number;
|
|
||||||
height?: string | number;
|
|
||||||
borderRadius?: number;
|
|
||||||
}) {
|
|
||||||
return (
|
|
||||||
<div
|
|
||||||
className="skeleton"
|
|
||||||
style={{
|
|
||||||
width: width ?? '100%',
|
|
||||||
height: height ?? 16,
|
|
||||||
borderRadius,
|
|
||||||
}}
|
|
||||||
/>
|
|
||||||
);
|
|
||||||
}
|
|
||||||
Loading…
x
Reference in New Issue
Block a user