@tapie-kr/inspire-react
Version:
React Component Collection for INSPIRE
21 lines (18 loc) • 852 B
JavaScript
/* eslint-disable */
/*
* INSPIRE : Creative Kit
* React Component Collection for INSPIRE
*
* This file is generated automatically. Do not modify it manually
* Generated at : 2025. 3. 4. 오후 6:18:13
* @tapie-kr/inspire-react version: 0.2.15
*
* (c) 2025 TAPIE. All rights reserved.
* MIT License
*/
import { fullHeight, fullWidth } from './styles.css.js';
import cn from '../../../../_virtual/index.js';
import { createElement } from 'react';
import { LayoutTag } from '../../../../lib/layout/types.js';
function Box(props){const{tag:Tag=LayoutTag.DIV,fullWidth: fullWidth$1,fullHeight: fullHeight$1,className,padding,style,...rest}=props;const classNames=[className,{[fullWidth]:fullWidth$1,[fullHeight]:fullHeight$1}];return createElement(Tag,{className:cn(classNames),style:{padding,...style},...rest},props.children)}
export { Box };