Migrate to twenty-ui - input components (#7914)
### Description Migrate Input components: - CardPicker - Radio - RadioGroup - Checkbox - Toggle - IconListViewGrip ### Demo Radio Component on Storybook  Checkbox component on Storybook  ###### Fixes twentyhq/private-issues#92 Co-authored-by: gitstart-twenty <gitstart-twenty@users.noreply.github.com> Co-authored-by: Charles Bochet <charles@twenty.com>
This commit is contained in:
committed by
GitHub
parent
ff388f56ea
commit
fc8c9d9167
@ -9,7 +9,7 @@ Used when a user needs to select multiple values from several options.
|
||||
<ArticleTabs label1="Usage" label2="Props">
|
||||
<ArticleTab>
|
||||
|
||||
<SandpackEditor content={`import { Checkbox } from "@/ui/input/components/Checkbox";
|
||||
<SandpackEditor content={`import { Checkbox } from "twenty-ui";
|
||||
|
||||
export const MyComponent = () => {
|
||||
return (
|
||||
|
||||
@ -9,7 +9,7 @@ Used when users may only choose one option from a series of options.
|
||||
<ArticleTabs label1="Usage" label2="Props">
|
||||
<ArticleTab>
|
||||
|
||||
<SandpackEditor content={`import { Radio } from "@/ui/input/components/Radio";
|
||||
<SandpackEditor content={`import { Radio } from "twenty-ui";
|
||||
|
||||
export const MyComponent = () => {
|
||||
|
||||
@ -65,8 +65,7 @@ Groups together related radio buttons.
|
||||
<ArticleTab>
|
||||
|
||||
<SandpackEditor content={`import React, { useState } from "react";
|
||||
import { Radio } from "@/ui/input/components/Radio";
|
||||
import { RadioGroup } from "@/ui/input/components/RadioGroup";
|
||||
import { Radio, RadioGroup } from "twenty-ui";
|
||||
|
||||
export const MyComponent = () => {
|
||||
|
||||
|
||||
Reference in New Issue
Block a user