feat: update Switch component to support customizable labels and adjust related UI elements
This commit is contained in:
@@ -180,9 +180,10 @@ export const CreateContentsPage = () => {
|
||||
<Switch
|
||||
id="is_premium"
|
||||
name="is_premium"
|
||||
label="Premium"
|
||||
label="Subscription"
|
||||
labelClassName="text-sm font-medium text-[#363636]"
|
||||
className="h-[42px]"
|
||||
options={{ true: 'Premium', false: 'Normal' }}
|
||||
/>
|
||||
</div>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user