mirror of
https://github.com/iconoir-icons/iconoir
synced 2024-06-17 13:15:05 +02:00
22 lines
478 B
TypeScript
22 lines
478 B
TypeScript
|
import React from 'react';
|
||
|
import styled from 'styled-components';
|
||
|
import { media } from '../lib/responsive';
|
||
|
import {useRef, useEffect} from 'react';
|
||
|
|
||
|
export interface HeaderSecondaryProps {
|
||
|
children: React.ReactElement;
|
||
|
}
|
||
|
export function HeaderSecondary({ children }: HeaderSecondaryProps) {
|
||
|
|
||
|
return (
|
||
|
<HeaderContainer>
|
||
|
{children}
|
||
|
</HeaderContainer>
|
||
|
);
|
||
|
}
|
||
|
|
||
|
const HeaderContainer = styled.div`
|
||
|
position: relative;
|
||
|
width: fit-content;
|
||
|
margin: auto;
|
||
|
`;
|