wallet-connect-web-examples/wallets/react-wallet-v2/src/components/PageHeader.tsx
2022-02-04 16:53:21 +02:00

27 lines
377 B
TypeScript

import { Text } from '@nextui-org/react'
/**
* Types
*/
interface Props {
children: string
}
/**
* Component
*/
export default function PageHeader({ children }: Props) {
return (
<Text
h2
weight="bold"
css={{
textGradient: '45deg, $primary, $secondary 100%',
marginBottom: '$10'
}}
>
{children}
</Text>
)
}