dnd-character-sheets
Version:
Dungeons and Dragons 5th Edition character sheets created in ReactJS.
19 lines (18 loc) • 739 B
TypeScript
import React from 'react';
import DnDCharacter from './DnDCharacter';
import './dndstyles.css';
interface IDnDCharacterProfileSheetProps {
character?: DnDCharacter;
defaultCharacter?: DnDCharacter;
onCharacterChanged?: (character: DnDCharacter, changedField: string, newValue: any) => void;
}
interface IDnDCharacterProfileSheetState {
character: DnDCharacter;
}
declare class DnDCharacterProfileSheet extends React.Component<IDnDCharacterProfileSheetProps, IDnDCharacterProfileSheetState> {
constructor(props: IDnDCharacterProfileSheetProps);
updateCharacter(name: string, value: any): void;
getCharacter(): DnDCharacter;
render(): JSX.Element;
}
export default DnDCharacterProfileSheet;