@cbinsights/fds
Version:
Form: A design system by CB Insights
23 lines (22 loc) • 621 B
TypeScript
import React from 'react';
import { IconProps } from 'components/Icon';
export interface IconInputProps {
/** An `input` element child */
children?: React.ReactNode;
/**
* FDS Icon _reference_
* `IconLeft={StarFilledIcon}`
*/
IconLeft?: React.ComponentType<IconProps>;
/**
* FDS Icon _reference_
* `IconRight={StarFilledIcon}`
*/
IconRight?: React.ComponentType<IconProps>;
}
/**
* @param {Object} props react props
* @returns {ReactElement}
*/
declare const IconInput: ({ IconLeft, IconRight, children }: IconInputProps) => JSX.Element;
export default IconInput;