diff --git a/admin/public/assets/icons/calendar.svg b/admin/public/assets/icons/calendar.svg index 6d839977..bcd55ca9 100644 --- a/admin/public/assets/icons/calendar.svg +++ b/admin/public/assets/icons/calendar.svg @@ -1,8 +1,9 @@
- - - +
); diff --git a/admin/src/components/Table/index.tsx b/admin/src/components/Table/index.tsx index c10b6769..f82c28b8 100644 --- a/admin/src/components/Table/index.tsx +++ b/admin/src/components/Table/index.tsx @@ -3,15 +3,16 @@ import { ReactNode, RefObject, forwardRef } from "react"; interface TableProps { headers: ReactNode[]; data: ReactNode[][]; + height?: string | number; dataLastItem?: RefObject; } const Table = forwardRef(function Table( - { headers, data, dataLastItem }, + { headers, data, height = 600, dataLastItem }, ref ) { return ( -
+
diff --git a/admin/src/components/TextField/index.tsx b/admin/src/components/TextField/index.tsx new file mode 100644 index 00000000..3cfff79a --- /dev/null +++ b/admin/src/components/TextField/index.tsx @@ -0,0 +1,13 @@ +import { ComponentProps } from "react"; + +interface TextFieldProps extends ComponentProps<"textarea"> {} + +export default function TextField({ ...restProps }: TextFieldProps) { + return ( +