Sha256: f23f835203e37f50a0197ce639d348688701f84f3a863b57658d1e58e14ab7d1
Contents?: true
Size: 544 Bytes
Versions: 120
Compression:
Stored size: 544 Bytes
Contents
/* @flow */ import React from 'react' import classnames from 'classnames' import { buildCss } from '../../utilities/props' import { globalProps } from '../../utilities/globalProps.js' // 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
120 entries across 120 versions & 1 rubygems