@synergycodes/axiom
Version:
A React library for creating node-based UIs and diagram-driven applications. Perfect for React Flow users, providing ready-to-use node templates and components that work seamlessly with React Flow's ecosystem.
19 lines (18 loc) • 533 B
TypeScript
import { InputProps as InputBaseProps } from '@mui/base';
import { ItemSize } from '../../shared/types/item-size';
import { ReactNode } from 'react';
export type InputProps = InputBaseProps & {
/**
* Specifies the size of the input field.
* Can be 'small', 'medium', or 'large'.
*/
size?: ItemSize;
/**
* Element displayed at the end of the input field.
*/
endAdornment?: ReactNode;
/**
* Element displayed at the start of the input field.
*/
startAdornment?: ReactNode;
};