Sha256: 0eed5177ecc812f7d4104f5164885d749db163f71dfcbf69fed1990dd3d55cd5
Contents?: true
Size: 661 Bytes
Versions: 125
Compression:
Stored size: 661 Bytes
Contents
import React from 'react' import classnames from 'classnames' import { buildCss } from '../../utilities/props' import { globalProps } from '../../utilities/globalProps' type DialogBodyProps = { children: React.ReactNode | React.ReactNode[] | string, padding?: "xxs" | "xs" | "sm" | "md" | "lg" | "xl", className?: string } // Body component const DialogBody = (props: DialogBodyProps) => { const { children, className } = props const bodyCSS = buildCss("dialog_body") const bodySpacing = globalProps(props) return ( <div className={classnames(bodyCSS, bodySpacing, className)}> {children} </div> ) } export default DialogBody
Version data entries
125 entries across 125 versions & 1 rubygems