New icons, better page transition, truncated popper, adds disallowSpaces option to binders, delete and edit buttons
This commit is contained in:
15
project-warstone/src/components/Poppables/truncation.tsx
Normal file
15
project-warstone/src/components/Poppables/truncation.tsx
Normal file
@@ -0,0 +1,15 @@
|
||||
import { FC, PropsWithChildren } from 'react';
|
||||
import { Poppable } from '../../lib/poppables/components/poppable';
|
||||
|
||||
export const Truncate: FC<PropsWithChildren> = ({children}) => {
|
||||
|
||||
return (
|
||||
<Poppable
|
||||
content={children}
|
||||
preferredAlign="centered"
|
||||
preferredEdge="top"
|
||||
>
|
||||
<p className="truncate max-w-full underline">{children}</p>
|
||||
</Poppable>
|
||||
);
|
||||
}
|
Reference in New Issue
Block a user