mirror of
https://github.com/Redocly/redoc.git
synced 2025-07-14 18:22:31 +03:00
Add todo to Endpoint component
This commit is contained in:
parent
8e6b9e8380
commit
bf255a4118
|
@ -36,6 +36,8 @@ export class Endpoint extends React.PureComponent<EndpointProps, EndpointState>
|
||||||
render() {
|
render() {
|
||||||
const { operation } = this.props;
|
const { operation } = this.props;
|
||||||
const { expanded } = this.state;
|
const { expanded } = this.state;
|
||||||
|
|
||||||
|
// TODO: highlight server variables, e.g. https://{user}.test.com
|
||||||
return (
|
return (
|
||||||
<OperationEndpointWrap>
|
<OperationEndpointWrap>
|
||||||
<EndpointInfo onClick={this.toggle} expanded={expanded}>
|
<EndpointInfo onClick={this.toggle} expanded={expanded}>
|
||||||
|
|
Loading…
Reference in New Issue
Block a user