Skip to content

Commit

Permalink
Refactor budget/MobileTable to tsx (actualbudget#1602)
Browse files Browse the repository at this point in the history
  • Loading branch information
Jod929 authored Aug 29, 2023
1 parent 7bb6e8c commit 66927f8
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 2 deletions.
Original file line number Diff line number Diff line change
@@ -1,11 +1,20 @@
import React from 'react';
import React, {
type ComponentProps,
type CSSProperties,
type ReactNode,
} from 'react';

import { colors } from '../../style';
import View from '../common/View';

export const ROW_HEIGHT = 50;

export const ListItem = ({ children, style, ...props }) => {
type ListItemProps = ComponentProps<typeof View> & {
children?: ReactNode;
style: CSSProperties;
};

export const ListItem = ({ children, style, ...props }: ListItemProps) => {
return (
<View
style={[
Expand Down
6 changes: 6 additions & 0 deletions upcoming-release-notes/1602.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
category: Maintenance
authors: [Jod929]
---

Refactor MobileTable to tsx.

0 comments on commit 66927f8

Please sign in to comment.