@awsui/components-react
Version:
On July 19th, 2022, we launched [Cloudscape Design System](https://cloudscape.design). Cloudscape is an evolution of AWS-UI. It consists of user interface guidelines, front-end components, design resources, and development tools for building intuitive, en
14 lines • 785 B
JavaScript
import { __rest } from "tslib";
// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
// SPDX-License-Identifier: Apache-2.0
import React from 'react';
import useBaseComponent from '../internal/hooks/use-base-component';
import { applyDisplayName } from '../internal/utils/apply-display-name';
import InternalAnchorNavigation from './internal';
export default function AnchorNavigation(_a) {
var { scrollSpyOffset = 0 } = _a, props = __rest(_a, ["scrollSpyOffset"]);
const baseComponentProps = useBaseComponent('AnchorNavigation');
return React.createElement(InternalAnchorNavigation, Object.assign({ scrollSpyOffset: scrollSpyOffset }, props, baseComponentProps));
}
applyDisplayName(AnchorNavigation, 'AnchorNavigation');
//# sourceMappingURL=index.js.map