mirror of
https://github.com/langbot-app/LangBot.git
synced 2026-06-02 03:55:55 +00:00
- Improved formatting and consistency in BotConfigPage, HomeSidebar, and Plugin components. - Removed unnecessary Spin component to prevent layout collapse in BotConfigPage. - Enhanced sidebar selection logic to reflect current URL path in HomeSidebar. - Updated layout styles for better responsiveness and visual appeal. - Implemented mock data fetching in PluginMarketComponent for improved testing and development. - Added pagination and search functionality in PluginMarketComponent. - Refactored PluginInstalledComponent to streamline plugin list rendering and modal handling. - Adjusted CSS styles for better alignment and spacing in various components. - Removed commented-out code in HttpClient for cleaner codebase. - Enhanced NotFound component layout for better user experience.
25 lines
548 B
TypeScript
25 lines
548 B
TypeScript
import styles from "./createCartComponent.module.css";
|
|
|
|
export default function CreateCardComponent({
|
|
height,
|
|
plusSize,
|
|
onClick,
|
|
}: {
|
|
height: number;
|
|
plusSize: number;
|
|
onClick: () => void
|
|
}) {
|
|
return (
|
|
<div
|
|
className={`${styles.cardContainer} ${styles.createCardContainer} `}
|
|
style={{
|
|
width: `100%`,
|
|
height: `${height}px`,
|
|
fontSize: `${plusSize}px`
|
|
}}
|
|
onClick={onClick}
|
|
>
|
|
+
|
|
</div>
|
|
)
|
|
} |