Skip to content

Commit

Permalink
chore: fix doc lint errors
Browse files Browse the repository at this point in the history
  • Loading branch information
@casey_baggz_omni committed Sep 9, 2024
1 parent 6e1ee78 commit ff54309
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
5 changes: 3 additions & 2 deletions docs/app/react/checkbox/components/checkbox-preview.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
'use client'

import { FLEX_START } from '@/app/utils/const'
import { Field, Label, Checkbox } from '@cerberus-design/react'
import { hstack, vstack } from '@cerberus/styled-system/patterns'
import { useCallback, useState, type ChangeEvent } from 'react'
Expand Down Expand Up @@ -33,7 +34,7 @@ export function OverviewPreview() {
<Field required>
<Label
className={hstack({
justify: 'flex-start',
justify: FLEX_START,
})}
htmlFor="terms"
size="sm"
Expand All @@ -51,7 +52,7 @@ export function OverviewPreview() {
<Field>
<Label
className={hstack({
justify: 'flex-start',
justify: FLEX_START,
})}
htmlFor="legal"
size="sm"
Expand Down
2 changes: 2 additions & 0 deletions docs/app/utils/const.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,3 +6,5 @@ export const ACTION_NAV_HOVER = 'action.navigation.hover'
export const ACTION_NAV_INITIAL = 'action.navigation.initial'

export const PURPLE = 'purple'

export const FLEX_START = 'flex-start'

0 comments on commit ff54309

Please sign in to comment.