You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

1234567891011121314151617181920
  1. import React from 'react'
  2. import { Typography } from 'antd';
  3. const { Title } = Typography;
  4. type PageTitleProps = {
  5. title: string
  6. }
  7. const PageTitle: React.FC<PageTitleProps> = ({ title }) => {
  8. return (
  9. <div className='bg-[#480066] flex justify-center py-3'>
  10. <Title level={4} style={{margin:0, color:"white"}}>
  11. {title}
  12. </Title>
  13. </div>
  14. )
  15. }
  16. export default PageTitle