import AbcIcon from '@mui/icons-material/Abc';
import type { Theme } from '@mui/material';
import { useState } from 'react';
import { makeStyles } from 'tss-react/mui';
import TextField from '.';
const useStyles = makeStyles()((theme: Theme) => ({
root: {
background: theme.palette.background.paper,
borderRadius: theme.spacing(0.5),
width: theme.spacing(25)
}
}));
export default { title: 'InputField/Text' };
export const withLabelAndHelperText = (): JSX.Element => (
);
export const withPlaceholderOnly = (): JSX.Element => (
);
export const withError = (): JSX.Element => (
);
export const fullWidth = (): JSX.Element => (
);
export const compact = (): JSX.Element => (
);
export const small = (): JSX.Element => (
);
export const medium = (): JSX.Element => (
);
export const large = (): JSX.Element => (
);
export const defaultValue = (): JSX.Element => (
);
export const transparent = (): JSX.Element => (
);
const CustomTextField = (): JSX.Element => {
const { classes } = useStyles();
return ;
};
export const customTextField = (): JSX.Element => ;
export const autoSize = (): JSX.Element => (
);
export const autoSizeCustomPadding = (): JSX.Element => (
);
const ControlledTextFieldWithAutoSize = (): JSX.Element => {
const [value, setValue] = useState('');
const change = (event): void => {
setValue(event.target.value);
};
return (
);
};
export const AutoSizeControlled = (): JSX.Element => (
);
export const autoSizeWithEndAdornment = (): JSX.Element => (
}
}
}}
/>
);