UNPKG

docusaurus-plugin-openapi-docs

Version:

OpenAPI plugin for Docusaurus.

17 lines (14 loc) 534 B
/* ============================================================================ * Copyright (c) Palo Alto Networks * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. * ========================================================================== */ import { create, Props } from "./utils"; export function createDetailsSummary({ children, style, ...rest }: Props) { return create("summary", { style: { ...style }, ...rest, children, }); }