Newer
Older
CrypticOreWallet / src / shared-components / skeleton / SkeletonText.tsx
@Drew Lemmy Drew Lemmy on 19 Sep 2020 298 bytes fix: responsiveness tweaks
import React from "react";

import "./Skeleton.scss";

interface Props {
  emWidth?: number;
}

export const SkeletonText: React.FC<Props> = (props: Props) => (
  <div 
    className="skeleton skeleton-text"
    style={{
      width: props.emWidth ? `${props.emWidth}em` : undefined
    }}
  />
);