Sha256: 270cf2d88649ab96aec1f53afb980b018aeb1f5a12dd5379df37b1393820266b
Contents?: true
Size: 541 Bytes
Versions: 45
Compression:
Stored size: 541 Bytes
Contents
/* @flow */ import React from 'react' import classnames from 'classnames' import { buildCss } from '../../utilities/props' import { globalProps } from '../../utilities/globalProps' // Body component const DialogBody = (props: DialogBodyProps) => { const { children, padding = 'sm', className } = props const bodyCSS = buildCss('dialog_body') const bodySpacing = globalProps(props, { padding }) return ( <div className={classnames(bodyCSS, bodySpacing, className)}> {children} </div> ) } export default DialogBody
Version data entries
45 entries across 45 versions & 1 rubygems