@reservoir0x/relay-kit-ui
Version:
Relay is the Fastest and Cheapest Way to Bridge and Transact Across Chains.
16 lines • 517 B
JavaScript
import { jsx as _jsx } from "react/jsx-runtime";
import Flex from './Flex.js';
import {} from '@reservoir0x/relay-design-system/css';
const Skeleton = ({ css }) => {
return (_jsx(Flex, { css: {
animationName: 'pulse',
backgroundColor: 'skeleton-background',
borderRadius: 8,
width: 100,
height: 12,
animation: 'pulse 3s ease-in-out infinite',
...css
} }));
};
export default Skeleton;
//# sourceMappingURL=Skeleton.js.map