Sha256: e55687768e25fabae73ff74d1cb543443d2b4a2f0f852817bc4bc1ec36249e92
Contents?: true
Size: 713 Bytes
Versions: 7
Compression:
Stored size: 713 Bytes
Contents
/* @flow */ import React from 'react' import classnames from 'classnames' import { Body, Icon } from '../' import { globalProps } from '../utilities/globalProps.js' type LoadingInlineProps = { align?: "left" | "center" | "right", className?: String, dark?: Boolean, data?: String, id?: String, } const LoadingInline = (props: LoadingInlineProps) => { const { align = 'left' } = props return ( <div className={classnames(`pb_loading_inline_kit_${align}`, globalProps(props))} > <Body color="light"> <Icon fixedWidth icon="spinner" pulse /> {' Loading'} </Body> </div> ) } export default LoadingInline
Version data entries
7 entries across 7 versions & 1 rubygems