diff --git a/src/components/LineGutter/index.tsx b/src/components/LineGutter/index.tsx index 1f2867d..903ecda 100644 --- a/src/components/LineGutter/index.tsx +++ b/src/components/LineGutter/index.tsx @@ -1,31 +1,27 @@ -import React, { Component } from 'react'; +import React, { Component } from "react"; -import styles from './index.module.css'; +import styles from "./index.module.css"; export interface LineGutterProps { - /** - * The gutter object - */ - gutter: React.ReactNode; -} - -interface LineGutterProps { - gutter?: unknown; + /** + * The gutter object + */ + gutter: React.ReactNode; } /** * The gutter is an element between the line number and content. */ export default class LineGutter extends Component { - static defaultProps = { - gutter: null, - }; + static defaultProps = { + gutter: null, + }; - render() { - const { gutter } = this.props; + render() { + const { gutter } = this.props; - return ( - {gutter} - ); - } + return ( + {gutter} + ); + } }