import React, { PropsWithChildren } from 'react'; import { Icon, IconTypes } from '../Icon'; import './styles/index.scss'; import { WithEditProps } from './WithText'; interface WithSelectProps extends WithEditProps { list?: Array, } export function WithSelect(props:PropsWithChildren) { const { value, confirm, children, className, close, } = props; return (
{value}
{children}
); }