wallet-connect-web-examples/wallets/react-wallet-v2/src/components/PageHeader.tsx

26 lines
353 B
TypeScript
Raw Normal View History

2022-02-03 12:15:54 +00:00
import { Text } from '@nextui-org/react'
2022-02-04 10:01:08 +00:00
/**
* Types
*/
2022-02-03 12:15:54 +00:00
interface Props {
children: string
}
2022-02-04 10:01:08 +00:00
/**
* Component
*/
2022-02-03 12:15:54 +00:00
export default function PageHeader({ children }: Props) {
return (
<Text
h3
css={{
2022-02-04 09:37:35 +00:00
textGradient: '45deg, $primary -30%, $secondary 100%'
2022-02-03 12:15:54 +00:00
}}
weight="bold"
>
{children}
</Text>
)
}