UNPKG

@daimo/pay

Version:

Seamless crypto payments. Onboard users from any chain, any coin into your app with one click.

14 lines (11 loc) 448 B
import { jsxs, jsx } from 'react/jsx-runtime'; import { AlertContainer, IconContainer } from './styles.js'; const Alert = ({ children, error, icon }) => { return /* @__PURE__ */ jsxs(AlertContainer, { $error: error, children: [ icon && /* @__PURE__ */ jsx(IconContainer, { children: icon }), /* @__PURE__ */ jsx("div", { children }) ] }); }; Alert.displayName = "Alert"; export { Alert as default }; //# sourceMappingURL=index.js.map