Skip to content

fix(web-components): add missing export for AnchorButtonStyles #34239

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

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

motss
Copy link
Contributor

@motss motss commented Apr 12, 2025

Checklist

✅ Code is up-to-date with the master branch
yarn change
yarn prerelease
yarn build

Previous Behavior

#33957 missed updating src/index.ts to export AnchorButtonStyles.

import { AnchorStyles } from '@fluentui/web-components';

// '"@fluentui/web-components"' has no exported member named 'AnchorButtonStyles'. Did you mean 'ButtonStyles'?ts(2724)

New Behavior

This PR addresses that oversight, allowing AnchorButtonStyles to be imported directly from @fluentui/web-components.

import { AnchorStyles } from '@fluentui/web-components'; // no ts error

Related Issue(s)

  1. Fixes oversight in fix: export AnchorButtonStyles in its index.ts #33957.

@motss motss requested a review from a team as a code owner April 12, 2025 12:33
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.

1 participant