Sha256: cd693c8fbb96e45ebf1ecb157573158c9fd1dc407896daf91ae7aedaaa4f7519
Contents?: true
Size: 541 Bytes
Versions: 12
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
12 entries across 12 versions & 1 rubygems