Skip to content

Commit

Permalink
Export types in @visx/text (#1106)
Browse files Browse the repository at this point in the history
Export types in @visx/text to allow `import { TextProps } from '@visx/text';`
  • Loading branch information
jrmyio authored Mar 12, 2021
1 parent e368b94 commit b2a20a1
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/visx-text/src/index.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
export { default as Text } from './Text';
export { default as getStringWidth } from './util/getStringWidth';
export { default as useText } from './hooks/useText';
export * from './types';

0 comments on commit b2a20a1

Please sign in to comment.