UNPKG

@tapie-kr/inspire-react

Version:

React Component Collection for INSPIRE

23 lines (19 loc) 864 B
/* 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 */ 'use strict'; var styles_css = require('./styles.css.js'); var index = require('../../../../_virtual/index.js'); var React = require('react'); var types = require('../../../../lib/layout/types.js'); function Box(props){const{tag:Tag=types.LayoutTag.DIV,fullWidth,fullHeight,className,padding,style,...rest}=props;const classNames=[className,{[styles_css.fullWidth]:fullWidth,[styles_css.fullHeight]:fullHeight}];return React.createElement(Tag,{className:index.default(classNames),style:{padding,...style},...rest},props.children)} exports.Box = Box;