UNPKG

@bothub-chat/ui

Version:

Bothub UI Components

2 lines (1 loc) 477 B
import{jsxs as r,jsx as e}from"react/jsx-runtime";import t from"react";import{ReferralsStyled as l,ReferralList as o,ReferralsButtons as a}from"./styled.js";export{CreateReferralButton}from"./styled.js";const m=({className:m,create:n,empty:c,children:i})=>r(l,{className:m,children:[0===t.Children.toArray(i).length&&c,0!==t.Children.toArray(i).length&&e(o,{children:i}),e(a,{children:n})]});export{o as ReferralList,m as Referrals,a as ReferralsButtons,l as ReferralsStyled};