Some checks failed
forgejo/Procyon/procyon/pipeline/head There was a failure building this commit
This commit removes unused placeholder files and updates several components to be compatible with React Native. These updates include changes in styles, properties, and components like Modals, Toaster, Navigator, and others. The affected files were also appropriately reorganized. Additionally, a new .storybook manager file was introduced.
16 lines
356 B
TypeScript
16 lines
356 B
TypeScript
import React, { FC } from 'react';
|
|
import clsx from 'clsx';
|
|
|
|
export type HourViewProps = {
|
|
children?: any;
|
|
className?: string;
|
|
onClick?: (event: any) => void;
|
|
};
|
|
|
|
export const HourView: FC<HourViewProps> = ({ className, onClick, children }) => {
|
|
return (
|
|
<div className={clsx('h-8 m-0.5', className)} onClick={onClick}>
|
|
{children}
|
|
</div>
|
|
);
|
|
};
|