import React from 'react'; import styled from 'styled-components'; import { Ellipsis } from '../../components'; type Props = { className?: string; }; type NativeAttrs = Omit, keyof Props>; export type CustomSelectLabelProps = Props & NativeAttrs; const StyledCustomSelectLabel = styled.div` display: flex; justify-content: flex-start; align-items: center; width: 100%; padding: 0.5rem; margin: 0; user-select: none; color: var(--form-color); border-bottom: 1px solid var(--form-border-color); font-size: 0.7em; font-weight: 500; text-transform: uppercase; `; export const CustomSelectLabel: React.FC> = ({ children, ...props }: React.PropsWithChildren) => { return ( {children} ); }; CustomSelectLabel.displayName = 'CustomSelectLabel';