mirror of
https://github.com/luxfi/financial.git
synced 2026-10-30 16:55:56 +00:00
Regulated banking platform marketing site covering: - Fiat, crypto, stablecoins, digital securities - CEX, DEX, AMM - 200+ countries - Payments, treasury, and banking infrastructure Built on Next.js static export, deployed via hanzoai/spa on lux-k8s. Migrated from luxfi/bank v1-archive branch.
11 lines
619 B
JavaScript
11 lines
619 B
JavaScript
'use client';
|
|
import React from 'react';
|
|
import Styled from './styles';
|
|
const Text = ({ children, variant, color, href, target, textAlign = 'left', as = 'p', htmlFor, id, style, }) => {
|
|
if (href) {
|
|
return (React.createElement(Styled.TextLink, { "$variant": variant, "$color": color, "$textAlign": textAlign, href: href, target: target, id: id, style: style }, children));
|
|
}
|
|
return (React.createElement(Styled.Text, { as: as, "$variant": variant, "$textAlign": textAlign, "$color": color, htmlFor: htmlFor, id: id, style: style }, children));
|
|
};
|
|
export default Text;
|
|
//# sourceMappingURL=index.js.map
|