import React from 'react' export const Topbar: React.FC = ({ logoHref = '//app.lojaintegrada.com.br/painel', logoSrc = 'https://cdn.awsli.com.br/production/static/whitelabel/lojaintegrada/img/logo.svg', logoTitle = 'Loja Integrada', children, }) => (
{logoTitle}
{children}
) export interface TopbarProps { /** Link of the logo * @default '//app.lojaintegrada.com.br/painel' */ logoHref?: string /** Image link of the logo * @default 'https://cdn.awsli.com.br/production/static/whitelabel/lojaintegrada/img/logo.svg' */ logoSrc?: string /** Title of the logo * @default 'Loja Integrada' */ logoTitle?: string /** * React children * Also support render prop */ children?: React.ReactNode | ((props: TopbarProps) => React.ReactNode) }