Skip to content

Commit

Permalink
Merge pull request #1531 from kintone-labs/SSR-4368_hotfix_update-Tab…
Browse files Browse the repository at this point in the history
…le-storybook

SSR-4368: [hotfix] update the storybook of Table
  • Loading branch information
dong0 authored Mar 18, 2024
2 parents ec7447d + f3aba34 commit dc6ffd9
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions src/table/index.stories.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import { MultiChoice } from "../multichoice";
import { RadioButton } from "../radio-button";
import { TextArea } from "../textarea";
import { TimePicker } from "../time-picker";
import { Tooltip } from "../tooltip";
import "../tooltip";

import { Table } from "./index.ts";

Expand Down Expand Up @@ -103,10 +103,6 @@ const renderMultiChoice = (cellData) => {
};

const Template = (args) => {
args.columns[0].title = new Tooltip({
title: "Please select a user",
container: "Name column (Dropdown component)",
});
const table = new Table({ ...args });
table.addEventListener("change", (event) => {
console.log(event, "event");
Expand All @@ -119,7 +115,8 @@ const Template = (args) => {
// So please don't edit columns value on controls tab.
const columns = [
{
title: "Name",
title:
"<kuc-tooltip title='Please select a user' container='Name column (Dropdown component)'>",
field: "name",
requiredIcon: true,
render: renderName,
Expand Down

0 comments on commit dc6ffd9

Please sign in to comment.