@bothub-chat/ui
Version:
Bothub UI Components
2 lines (1 loc) • 495 B
JavaScript
import{__rest as e}from"tslib";import{jsx as t}from"react/jsx-runtime";import{BackgroundBluePurpleBottomLeftImage as r,BackgroundBluePurpleCenterImage as a,BackgroundStyled as i}from"./styled.js";const l=l=>{var{variant:s="grid",disableRepeat:p=!1}=l,b=e(l,["variant","disableRepeat"]);let o;switch(s){case"blue-purple":o=t(a,{});break;case"blue-purple-bottom-left":o=t(r,{});break;default:o=null}return t(i,Object.assign({$variant:s,$disableRepeat:p},b,{children:o}))};export{l as Background};