Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

#684: Add className optional parameter #683

Merged
merged 1 commit into from
Aug 24, 2021
Merged

Conversation

alexsurelee
Copy link
Contributor

@alexsurelee alexsurelee commented Aug 24, 2021

Issue #, if available:
#684

Description of changes:
Adds className to the File object, as it should be supported looking at the config available. Currently, the ios-swift format produces a class without any name when using a TypeScript configuration, meaning it can't be used.

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

Following the [config](https://github.com/amzn/style-dictionary/blob/main/examples/basic/config.json#L100) available, `File` objects should support a `className`.
@alexsurelee alexsurelee changed the title Add className optional parameter #684: Add className optional parameter Aug 24, 2021
@dbanksdesign dbanksdesign merged commit 639d7da into amzn:main Aug 24, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants