UNPKG

@daimo/pay

Version:

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

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