diff --git a/src/features/ui/components/modals/onboarding-flow-modal/header-steps.tsx b/src/features/ui/components/modals/onboarding-flow-modal/header-steps.tsx new file mode 100644 index 000000000..9e40b533d --- /dev/null +++ b/src/features/ui/components/modals/onboarding-flow-modal/header-steps.tsx @@ -0,0 +1,26 @@ +import React from 'react'; + +import { Stack, Text } from 'soapbox/components/ui'; +import IconButton from 'soapbox/components/ui/icon-button/icon-button'; + +interface IHeaderSteps { + onClose?: () => void; + title: React.ReactNode; + subtitle: React.ReactNode; +} + +export const HeaderSteps = ({ onClose, title, subtitle }: IHeaderSteps) => { + return ( +
+ + + + {title} + + + {subtitle} + + +
+ ); +};