UNPKG

@redocly/asyncapi-docs

Version:

Async API docs for Redocly Realm

13 lines (11 loc) 514 B
import{jsx as r,jsxs as n}from"react/jsx-runtime";import{Button as s,ChevronDownIcon as t,ChevronRightIcon as i}from"@redocly/theme";import a from"styled-components";const m=({expanded:o})=>n(e,{children:[r("span",{children:"More details"}),r(s,{icon:o?r(t,{}):r(i,{}),size:"small",variant:"ghost"})]}),e=a.span` cursor: pointer; align-items: center; display: flex; & > span { color: var(--link-color-primary); } & path { fill: var(--link-color-primary); } `;export{m as MoreDetailsButton};