@olwiba/ui 0.0.46 → 0.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@olwiba/ui",
3
- "version": "0.0.46",
3
+ "version": "0.1.0",
4
4
  "private": false,
5
5
  "type": "module",
6
6
  "sideEffects": false,
@@ -82,6 +82,8 @@ export interface AuthFormProps {
82
82
  loading?: boolean;
83
83
  /** Render prop for links — use to inject framework-native link components (e.g. TanStack Router Link) */
84
84
  renderLink?: AppShellRenderLink;
85
+ /** Optional content rendered below the form — use for social auth buttons or other additions */
86
+ footer?: React.ReactNode;
85
87
  }
86
88
 
87
89
  function DefaultForm({
@@ -95,6 +97,7 @@ function DefaultForm({
95
97
  error,
96
98
  loading,
97
99
  renderLink = defaultRenderLink,
100
+ footer,
98
101
  }: AuthFormProps) {
99
102
  const isSignUp = mode === 'signup';
100
103
 
@@ -167,6 +170,7 @@ function DefaultForm({
167
170
  )
168
171
  )}
169
172
  </p>
173
+ {footer && <div>{footer}</div>}
170
174
  </CardContent>
171
175
  </Card>
172
176
  );