json cell data view

This commit is contained in:
Jan Prochazka
2020-11-05 14:33:51 +01:00
parent 7b64e33e92
commit 399d194771
5 changed files with 188 additions and 10 deletions

View File

@@ -5,7 +5,11 @@ const StyledInput = styled.textarea`
flex: 1;
`;
export default function TextCellView({ value, grider, selection }) {
export function TextCellViewWrap({ value, grider, selection }) {
return <StyledInput value={value} wrap="hard" readOnly />;
}
export function TextCellViewNoWrap({ value, grider, selection }) {
return (
<StyledInput
value={value}