How to use the @aws-amplify/ui.a function in @aws-amplify/ui

To help you get started, we’ve selected a few @aws-amplify/ui examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github aws-amplify / amplify-js / packages / aws-amplify-react / src / Amplify-UI / Amplify-UI-Components-React.jsx View on Github external
export const Link = (props) => {
    const theme = props.theme || AmplifyTheme;
    const style = propStyle(props, theme.a);
    const p = JS.objectLessAttributes(props, 'theme');
    return beforeAfter(
        <a style="{style}">{props.children}</a>
    );
};