Frankster
Frankster

Reputation: 699

Amplify pull not fetching Amplify studio components

I was looking into the figma and Amplify sync capability recently released by AWS. Looks promising. However, I can't seem to pull the components to my local repository after I have synced with figma.

I created some components in figma that are successfully synced into amplify studio. Under UI-Library > My Components, all my components are there, as expected.

The problem is I am not getting anything to my local computer after running amplify pull. The only thing I get is a cli.json and team-provider-info.json file. From the documentation it says I should simply import my components from ui-components like:

import {Button} from './ui-components';

But in order to do that I was expecting a folder to be pulled from amplify called ui-components. Like shown in this video, its clear that ui-components is a folder that gets added under src. But why is amplify pull not fetching it? According to documentation it should.

Upvotes: 7

Views: 1966

Answers (1)

Frankster
Frankster

Reputation: 699

It seems as if the problem is that my project is a react-native project. As of writing this it seems there is only support for react. I have tried googling but have been unable to find if support for react-native is coming. I would hope so!

Upvotes: 7

Related Questions