Files
outline/app/components/ClickablePadding.ts
T
2021-07-04 16:06:23 -04:00

10 lines
243 B
TypeScript

import styled from "styled-components";
const ClickablePadding = styled.div`
min-height: 10em;
cursor: ${({ onClick }) => (onClick ? "text" : "default")};
${({ grow }) => grow && `flex-grow: 100;`};
`;
export default ClickablePadding;