0
0
Fork 0

Convert <ColumnHeader> to Typescript (#30849)

This commit is contained in:
Eugen Rochko 2024-06-26 21:46:28 +02:00 committed by GitHub
parent e89317d4c1
commit 3939352e92
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
4 changed files with 307 additions and 243 deletions

View file

@ -1,11 +1,8 @@
import Column from '../../../components/column';
import ColumnHeader from '../../../components/column_header';
import Column from 'mastodon/components/column';
import { ColumnHeader } from 'mastodon/components/column_header';
import type { Props as ColumnHeaderProps } from 'mastodon/components/column_header';
interface Props {
multiColumn?: boolean;
}
export const ColumnLoading: React.FC<Props> = (otherProps) => (
export const ColumnLoading: React.FC<ColumnHeaderProps> = (otherProps) => (
<Column>
<ColumnHeader {...otherProps} />
<div className='scrollable' />