@brizy/ui
Version:
React elements in Brizy style
8 lines (7 loc) • 380 B
JavaScript
import React from "react";
import AntSkeleton from "antd/lib/skeleton";
import { BRZ_PREFIX } from "../constants";
export const SkeletonBodyText = (props) => {
const { rows = 3, active, round } = props;
return (React.createElement(AntSkeleton, { className: `${BRZ_PREFIX}-skeleton-body__text`, title: false, active: active, round: round, paragraph: { rows: rows } }));
};