ghost-portal/packages/react-components/src/Tabs/TabsSectionDelimiter.tsx
Jaco e63eeb506c
Rework (some) component styled injection (#8795)
* Rework (some) component styled injection

* Small build fixes

* Additional build fixes

* Additional

* Fixes

* Remove unused SelectedDrag

* Remover unneeded props passing

* Fix build

* Remove unneeded inline-block
2023-01-14 15:22:42 +02:00

37 lines
818 B
TypeScript

// Copyright 2017-2023 @polkadot/react-components authors & contributors
// SPDX-License-Identifier: Apache-2.0
import React from 'react';
import styled from 'styled-components';
interface TabsSectionDelimiterProps {
className?: string;
}
function TabsSectionDelimiter ({ className = '' }: TabsSectionDelimiterProps): React.ReactElement {
return (
<StyledDiv className={className}>
<svg
fill='none'
height='47'
viewBox='0 0 17 65'
width='17'
xmlns='http://www.w3.org/2000/svg'
>
<path
className='highlight--stroke'
d='M1 1L16 32.5L1 64'
stroke='#D1D1D1'
/>
</svg>
</StyledDiv>
);
}
const StyledDiv = styled.div`
height: 100%;
width: auto;
`;
export default React.memo(TabsSectionDelimiter);