Skip to content

Commit

Permalink
fix: Export the things from index
Browse files Browse the repository at this point in the history
  • Loading branch information
manuel.carrera committed Sep 19, 2024
1 parent 255829a commit f3ba40d
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
4 changes: 4 additions & 0 deletions modules/preview-react/form-field/index.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,11 @@
export * from './lib/FormField';
export * from './lib/FormFieldGroup';
export * from './lib/hooks/';
export * from './lib/FormFieldGroupLabel';
export * from './lib/FormFieldGroupInput';
export * from './lib/FormFieldGroupList';
export {formFieldStencil} from './lib/formFieldStencil';
export {formFieldContainerStencil} from './lib/FormFieldContainer';
export {formFieldHintStencil} from './lib/FormFieldHint';
export {formFieldLabelStencil} from './lib/FormFieldLabel';
export {useFormFieldGroupInput} from './lib/FormFieldGroupInput';
6 changes: 3 additions & 3 deletions modules/preview-react/form-field/lib/FormFieldGroupLabel.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import {brand, system} from '@workday/canvas-tokens-web';

import {useFormFieldLabel, useFormFieldModel} from './hooks';

export interface FormFieldLabelProps
export interface FormFieldGroupLabelProps
extends FlexProps,
Omit<ExtractProps<typeof Text, never>, 'display'> {
/**
Expand Down Expand Up @@ -64,10 +64,10 @@ export const formFieldGroupLabelStencil = createStencil({
});

export const FormFieldGroupLabel = createSubcomponent('div')({
displayName: 'FormField.Label',
displayName: 'FormFieldGroup.Label',
modelHook: useFormFieldModel,
elemPropsHook: useFormFieldLabel,
})<FormFieldLabelProps>(({children, typeLevel, variant, ...elemProps}, Element, model) => {
})<FormFieldGroupLabelProps>(({children, typeLevel, variant, ...elemProps}, Element, model) => {
return (
<Element
id={model.state.id}
Expand Down

0 comments on commit f3ba40d

Please sign in to comment.