decentraland-ui
Version:
Decentraland's UI components and styles
25 lines (24 loc) • 705 B
TypeScript
import * as React from 'react';
import { Network } from '@dcl/schemas/dist/dapps/network';
import { HeaderProps } from '../Header/Header';
import './Mana.css';
export declare type ManaProps = {
size?: 'tiny' | 'small' | 'medium' | 'large' | 'huge';
inline?: boolean;
network?: Network;
className?: string;
children?: React.ReactChild;
primary?: boolean;
showTooltip?: boolean;
};
/**
* @deprecated Should start using the same component migrated to UI2.
*/
export declare class Mana extends React.Component<ManaProps & HeaderProps> {
static defaultProps: {
className: string;
network: Network;
primary: boolean;
};
render(): JSX.Element;
}