chore: fix typo and extend docs a bit (#8)

This commit is contained in:
Patric Stout
2023-11-13 20:05:19 +01:00
committed by GitHub
parent 0e1d028459
commit 1c2466b475
2 changed files with 5 additions and 1 deletions

View File

@@ -7,7 +7,7 @@ import { FormatEftToEsi } from './FormatEftToEsi';
const meta: Meta<typeof FormatEftToEsi> = {
component: FormatEftToEsi,
tags: ['autodocs'],
title: 'Function/EftToEsiJson',
title: 'Function/FormatEftToEsi',
};
const withEveDataProvider: Decorator<{eft: string}> = (Story) => {

View File

@@ -56,6 +56,10 @@ const CpuPg = (props: { title: string, children: React.ReactNode }) => {
/**
* Render a ship fit similar to how it is done in-game.
*
* The difference between this component and ShipFit, is that this
* also adds the cargo hold, drone bay, and CPU/PG usage at the
* bottom of the fit.
*/
export const ShipFitExtended = (props: ShipFitExtendedProps) => {
const radius = props.radius ?? 365;