8c7affc933
Fixed import paths for 43 components moved into features/ directories. Key fixes: - api/, types/, hooks/, state/, utils/ imports need ../../../ from features/*/ - components/ imports need ../../ from features/*/ - Cross-feature imports use relative paths (e.g., ../tool/tools-bottom-sheet) - app-shell.tsx updated to import from features/ subdirectories Frontend typecheck now passes except for one pre-existing error: xterm-addon-webgl missing type declarations. Quality gates: ruff passed on backend, py_compile passed on all backend files.
23 lines
389 B
TypeScript
23 lines
389 B
TypeScript
import { Icon } from "../../icon";
|
|
|
|
interface MobileFABProps {
|
|
onClick: () => void;
|
|
label?: string;
|
|
}
|
|
|
|
export const MobileFAB: React.FC<MobileFABProps> = ({
|
|
onClick,
|
|
label = "Create new",
|
|
}) => {
|
|
return (
|
|
<button
|
|
className="mobile-fab"
|
|
onClick={onClick}
|
|
type="button"
|
|
aria-label={label}
|
|
>
|
|
<Icon name="add" size="md" />
|
|
</button>
|
|
);
|
|
};
|